set_gps_refresh_rate_sync


Description:

[ Version ( since = "1.0" ) ]
public bool set_gps_refresh_rate_sync (uint rate, Cancellable? cancellable = null) throws Error

Synchronously configures the GPS refresh rate.

If a 0 rate is used, the GPS location updates will be immediately propagated to the interface.

The calling thread is blocked until a reply is received. See set_gps_refresh_rate for the asynchronous version of this method.

Parameters:

this

A ModemLocation.

rate

The GPS refresh rate, in seconds.

cancellable

A Cancellable or null.

Returns:

true if setting the refresh rate was successful, false if error is set.




2022 vala-language.org