Simple.with_thresholds


Description:

[ CCode ( cname = "gclue_simple_new_with_thresholds" , finish_name = "gclue_simple_new_finish" , has_construct_function = false ) ]
public async Simple.with_thresholds (string desktop_id, AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, Cancellable? cancellable) throws Error

Asynchronously creates a Simple instance.

Use Simple.with_thresholds.end() to get the created Simple instance.

See Simple.with_thresholds_sync() for the synchronous, blocking version of this function.

Parameters:

desktop_id

The desktop file id (the basename of the desktop file).

accuracy_level

The requested accuracy level as AccuracyLevel.

time_threshold

Time threshold in seconds, 0 for no limit.

distance_threshold

Distance threshold in meters, 0 for no limit.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the results are ready.

user_data

User data to pass to callback.




2022 vala-language.org