get_full_sync


Description:

[ Version ( since = "1.0" ) ]
public bool get_full_sync (out Location3gpp location_3gpp, out LocationGpsNmea location_gps_nmea, out LocationGpsRaw location_gps_raw, out LocationCdmaBs location_cdma_bs, Cancellable? cancellable = null) throws Error

Synchronously gets the current location information.

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

Parameters:

this

A ModemLocation.

location_3gpp

Return location for a Location3gpp if 3GPP location is requested, or null if not required. The returned value should be freed with unref.

location_gps_nmea

Return location for a LocationGpsNmea if GPS NMEA location is requested, or null if not required. The returned value should be freed with unref.

location_gps_raw

Return location for a LocationGpsRaw if GPS raw location is requested, or null if not required. The returned value should be freed with unref.

location_cdma_bs

Return location for a LocationCdmaBs if CDMA Base Station location is requested, or null if not required. The returned value should be freed with unref.

cancellable

A Cancellable or null.

Returns:

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




2022 vala-language.org