- public string[] dup_assistance_data_servers ()
Gets the list of assistance data servers.
- public string dup_path ()
Gets a copy of the DBus path of the
Object object which implements this interface.
- public string dup_supl_server ()
Gets the address of the SUPL server.
- public async Location3gpp get_3gpp (Cancellable? cancellable) throws Error
Asynchronously gets the current 3GPP location information.
- public Location3gpp get_3gpp_sync (Cancellable? cancellable = null) throws Error
Synchronously gets the current 3GPP location information.
- public unowned string[] get_assistance_data_servers ()
Gets the list of assistance data servers.
- public ModemLocationSource get_capabilities ()
Gets a bitmask of the location capabilities supported by this
ModemLocation.
- public async LocationCdmaBs get_cdma_bs (Cancellable? cancellable) throws Error
Asynchronously gets the current CDMA base station location
information.
- public LocationCdmaBs get_cdma_bs_sync (Cancellable? cancellable = null) throws Error
Synchronously gets the current CDMA base station location information.
- public ModemLocationSource get_enabled ()
Gets a bitmask of the location capabilities which are enabled in this
ModemLocation.
- public async bool get_full (Cancellable? cancellable, out Location3gpp location_3gpp, out LocationGpsNmea location_gps_nmea, out LocationGpsRaw location_gps_raw, out LocationCdmaBs location_cdma_bs) throws Error
Asynchronously gets the current location information.
- 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.
- public async LocationGpsNmea get_gps_nmea (Cancellable? cancellable) throws Error
Asynchronously gets the current GPS NMEA location information.
- public LocationGpsNmea get_gps_nmea_sync (Cancellable? cancellable = null) throws Error
Synchronously gets the current GPS NMEA location information.
- public async LocationGpsRaw get_gps_raw (Cancellable? cancellable) throws Error
Asynchronously gets the current GPS raw location information.
- public LocationGpsRaw get_gps_raw_sync (Cancellable? cancellable = null) throws Error
Synchronously gets the current GPS raw location information.
- public uint get_gps_refresh_rate ()
Gets the GPS refresh rate, in seconds.
- public unowned string get_path ()
Gets the DBus path of the
Object which implements this interface.
- public Location3gpp get_signaled_3gpp ()
Gets a Location3gpp
object with the current 3GPP location information.
- public LocationCdmaBs get_signaled_cdma_bs ()
Gets a LocationCdmaBs
object with the current CDMA base station location information.
- public LocationGpsNmea get_signaled_gps_nmea ()
Gets a LocationGpsNmea
object with the current GPS NMEA location information.
- public LocationGpsRaw get_signaled_gps_raw ()
Gets a LocationGpsRaw
object with the current GPS raw location information.
- public unowned string get_supl_server ()
Gets the address of the SUPL server.
- public ModemLocationAssistanceDataType get_supported_assistance_data ()
Gets a bitmask of the supported assistance data types.
- public async bool inject_assistance_data (uint8[] data, Cancellable? cancellable) throws Error
Asynchronously injects assistance data to the GNSS module.
- public bool inject_assistance_data_sync (uint8[] data, Cancellable? cancellable = null) throws Error
Synchronously injects assistance data to the GNSS module.
- public unowned Location3gpp peek_signaled_3gpp ()
Gets a Location3gpp
object with the current 3GPP location information.
- public unowned LocationCdmaBs peek_signaled_cdma_bs ()
Gets a LocationCdmaBs
object with the current CDMA base station location information.
- public unowned LocationGpsNmea peek_signaled_gps_nmea ()
Gets a LocationGpsNmea
object with the current GPS NMEA location information.
- public unowned LocationGpsRaw peek_signaled_gps_raw ()
Gets a LocationGpsRaw
object with the current GPS raw location information.
- public async bool set_gps_refresh_rate (uint rate, Cancellable? cancellable) throws Error
Asynchronously configures the GPS refresh rate.
- public bool set_gps_refresh_rate_sync (uint rate, Cancellable? cancellable = null) throws Error
Synchronously configures the GPS refresh rate.
- public async bool set_supl_server (string supl, Cancellable? cancellable) throws Error
Asynchronously configures the address of the SUPL server for A-GPS
operation.
- public bool set_supl_server_sync (string supl, Cancellable? cancellable = null) throws Error
Synchronously configures the address of the SUPL server for A-GPS
operation.
- public async bool setup (ModemLocationSource sources, bool signal_location, Cancellable? cancellable) throws Error
Asynchronously configures the location sources to use when gathering
location information.
- 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.
- public bool signals_location ()
Gets the status of the location signaling in the
ModemLocation.