setup_sync


Description:

[ Version ( since = "1.0" ) ]
public bool setup_sync (ModemLocationSource sources, bool signal_location, Cancellable? cancellable = null) throws Error

Synchronously configures the location sources to use when gathering location information.

Also enable or disable location information gathering.

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

Parameters:

this

A ModemLocation.

sources

Bitmask of ModemLocationSource values specifying which locations should get enabled.

signal_location

Flag to enable or disable location signaling.

cancellable

A Cancellable or null.

Returns:

true if the setup was successful, false if error is set.