ModemLocation
Object Hierarchy:
Description:
[
CCode ( type_id =
"mm_modem_location_get_type ()" ) ]
public class ModemLocation :
GdbusModemLocationProxy,
AsyncInitable,
DBusInterface,
Initable,
GdbusModemLocation
The ModemLocation structure contains private data and should only be accessed using the provided API.
Content:
Creation methods:
Methods:
- 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
Aynchronously 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.
Inherited Members:
All known members inherited from class GLib.DBusProxy
- @new
- call
- call_sync
- call_with_unix_fd_list
- call_with_unix_fd_list_sync
- create_for_bus
- g_bus_type
- g_connection
- g_default_timeout
- g_flags
- g_interface_info
- g_interface_name
- g_name
- g_name_owner
- g_object_path
- g_properties_changed
- g_signal
- get_cached_property
- get_cached_property_names
- get_connection
- get_default_timeout
- get_flags
- get_interface_info
- get_interface_name
- get_name
- get_name_owner
- get_object_path
- set_cached_property
- set_default_timeout
- set_interface_info
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable
All known members inherited from interface MM.GdbusModemLocation