Simple.with_thresholds_sync


Description:

[ CCode ( has_construct_function = false ) ]
public Simple.with_thresholds_sync (string desktop_id, AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, Cancellable? cancellable = null) throws Error

The synchronous and blocking version of Simple.with_thresholds ().

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.

Returns:

The new Simple object or null if throws is set.




2022 vala-language.org