libmm-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties | Signals |
MmGdbusModemMmGdbusModem — Generated C code for the org.freedesktop.ModemManager1.Modem D-Bus interface |
MmGdbusModem; struct MmGdbusModemIface; guint mm_gdbus_modem_get_access_technologies (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_current_modes (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_current_modes (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_current_bands (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_current_bands (MmGdbusModem *object
); guint mm_gdbus_modem_get_current_capabilities (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_device (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_device (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_device_identifier (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_device_identifier (MmGdbusModem *object
); const gchar *const * mm_gdbus_modem_get_drivers (MmGdbusModem *object
); gchar ** mm_gdbus_modem_dup_drivers (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_equipment_identifier (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_equipment_identifier (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_manufacturer (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_manufacturer (MmGdbusModem *object
); guint mm_gdbus_modem_get_max_active_bearers (MmGdbusModem *object
); guint mm_gdbus_modem_get_max_bearers (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_model (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_model (MmGdbusModem *object
); const gchar *const * mm_gdbus_modem_get_own_numbers (MmGdbusModem *object
); gchar ** mm_gdbus_modem_dup_own_numbers (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_plugin (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_plugin (MmGdbusModem *object
); guint mm_gdbus_modem_get_power_state (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_primary_port (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_primary_port (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_ports (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_ports (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_revision (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_revision (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_signal_quality (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_signal_quality (MmGdbusModem *object
); const gchar * mm_gdbus_modem_get_sim (MmGdbusModem *object
); gchar * mm_gdbus_modem_dup_sim (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_supported_capabilities (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_supported_capabilities (MmGdbusModem *object
); gint mm_gdbus_modem_get_state (MmGdbusModem *object
); guint mm_gdbus_modem_get_state_failed_reason (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_supported_bands (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_supported_bands (MmGdbusModem *object
); guint mm_gdbus_modem_get_supported_ip_families (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_supported_modes (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_supported_modes (MmGdbusModem *object
); guint mm_gdbus_modem_get_unlock_required (MmGdbusModem *object
); GVariant * mm_gdbus_modem_get_unlock_retries (MmGdbusModem *object
); GVariant * mm_gdbus_modem_dup_unlock_retries (MmGdbusModem *object
); void mm_gdbus_modem_call_enable (MmGdbusModem *proxy
,gboolean arg_enable
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_enable_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_enable_sync (MmGdbusModem *proxy
,gboolean arg_enable
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_set_power_state (MmGdbusModem *proxy
,guint arg_state
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_set_power_state_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_set_power_state_sync (MmGdbusModem *proxy
,guint arg_state
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_create_bearer (MmGdbusModem *proxy
,GVariant *arg_properties
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_create_bearer_finish (MmGdbusModem *proxy
,gchar **out_path
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_create_bearer_sync (MmGdbusModem *proxy
,GVariant *arg_properties
,gchar **out_path
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_delete_bearer (MmGdbusModem *proxy
,const gchar *arg_bearer
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_delete_bearer_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_delete_bearer_sync (MmGdbusModem *proxy
,const gchar *arg_bearer
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_list_bearers (MmGdbusModem *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_list_bearers_finish (MmGdbusModem *proxy
,gchar ***out_bearers
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_list_bearers_sync (MmGdbusModem *proxy
,gchar ***out_bearers
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_reset (MmGdbusModem *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_reset_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_reset_sync (MmGdbusModem *proxy
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_factory_reset (MmGdbusModem *proxy
,const gchar *arg_code
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_factory_reset_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_factory_reset_sync (MmGdbusModem *proxy
,const gchar *arg_code
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_set_current_modes (MmGdbusModem *proxy
,GVariant *arg_modes
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_set_current_modes_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_set_current_modes_sync (MmGdbusModem *proxy
,GVariant *arg_modes
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_set_current_bands (MmGdbusModem *proxy
,GVariant *arg_bands
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_set_current_bands_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_set_current_bands_sync (MmGdbusModem *proxy
,GVariant *arg_bands
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_set_current_capabilities (MmGdbusModem *proxy
,guint arg_capabilities
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_set_current_capabilities_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_set_current_capabilities_sync (MmGdbusModem *proxy
,guint arg_capabilities
,GCancellable *cancellable
,GError **error
); void mm_gdbus_modem_call_command (MmGdbusModem *proxy
,const gchar *arg_cmd
,guint arg_timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean mm_gdbus_modem_call_command_finish (MmGdbusModem *proxy
,gchar **out_response
,GAsyncResult *res
,GError **error
); gboolean mm_gdbus_modem_call_command_sync (MmGdbusModem *proxy
,const gchar *arg_cmd
,guint arg_timeout
,gchar **out_response
,GCancellable *cancellable
,GError **error
);
MmGdbusModem is implemented by MMModem, MmGdbusModemProxy and MmGdbusModemSkeleton.
"access-technologies" guint : Read / Write "current-bands" GVariant* : Read / Write "current-capabilities" guint : Read / Write "current-modes" GVariant* : Read / Write "device" gchar* : Read / Write "device-identifier" gchar* : Read / Write "drivers" GStrv : Read / Write "equipment-identifier" gchar* : Read / Write "manufacturer" gchar* : Read / Write "max-active-bearers" guint : Read / Write "max-bearers" guint : Read / Write "model" gchar* : Read / Write "own-numbers" GStrv : Read / Write "plugin" gchar* : Read / Write "ports" GVariant* : Read / Write "power-state" guint : Read / Write "primary-port" gchar* : Read / Write "revision" gchar* : Read / Write "signal-quality" GVariant* : Read / Write "sim" gchar* : Read / Write "state" gint : Read / Write "state-failed-reason" guint : Read / Write "supported-bands" GVariant* : Read / Write "supported-capabilities" GVariant* : Read / Write "supported-ip-families" guint : Read / Write "supported-modes" GVariant* : Read / Write "unlock-required" guint : Read / Write "unlock-retries" GVariant* : Read / Write
"handle-command" :Run Last
"handle-create-bearer" :Run Last
"handle-delete-bearer" :Run Last
"handle-enable" :Run Last
"handle-factory-reset" :Run Last
"handle-list-bearers" :Run Last
"handle-reset" :Run Last
"handle-set-current-bands" :Run Last
"handle-set-current-capabilities" :Run Last
"handle-set-current-modes" :Run Last
"handle-set-power-state" :Run Last
"state-changed" :Run Last
This section contains code for working with the org.freedesktop.ModemManager1.Modem D-Bus interface in C.
typedef struct _MmGdbusModem MmGdbusModem;
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.
struct MmGdbusModemIface { GTypeInterface parent_iface; gboolean (*handle_command) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, const gchar *arg_cmd, guint arg_timeout); gboolean (*handle_create_bearer) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, GVariant *arg_properties); gboolean (*handle_delete_bearer) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, const gchar *arg_bearer); gboolean (*handle_enable) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, gboolean arg_enable); gboolean (*handle_factory_reset) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, const gchar *arg_code); gboolean (*handle_list_bearers) ( MmGdbusModem *object, GDBusMethodInvocation *invocation); gboolean (*handle_reset) ( MmGdbusModem *object, GDBusMethodInvocation *invocation); gboolean (*handle_set_current_bands) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, GVariant *arg_bands); gboolean (*handle_set_current_capabilities) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, guint arg_capabilities); gboolean (*handle_set_current_modes) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, GVariant *arg_modes); gboolean (*handle_set_power_state) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, guint arg_state); guint (*get_access_technologies) (MmGdbusModem *object); GVariant * (*get_current_bands) (MmGdbusModem *object); guint (*get_current_capabilities) (MmGdbusModem *object); GVariant * (*get_current_modes) (MmGdbusModem *object); const gchar * (*get_device) (MmGdbusModem *object); const gchar * (*get_device_identifier) (MmGdbusModem *object); const gchar *const * (*get_drivers) (MmGdbusModem *object); const gchar * (*get_equipment_identifier) (MmGdbusModem *object); const gchar * (*get_manufacturer) (MmGdbusModem *object); guint (*get_max_active_bearers) (MmGdbusModem *object); guint (*get_max_bearers) (MmGdbusModem *object); const gchar * (*get_model) (MmGdbusModem *object); const gchar *const * (*get_own_numbers) (MmGdbusModem *object); const gchar * (*get_plugin) (MmGdbusModem *object); GVariant * (*get_ports) (MmGdbusModem *object); guint (*get_power_state) (MmGdbusModem *object); const gchar * (*get_primary_port) (MmGdbusModem *object); const gchar * (*get_revision) (MmGdbusModem *object); GVariant * (*get_signal_quality) (MmGdbusModem *object); const gchar * (*get_sim) (MmGdbusModem *object); gint (*get_state) (MmGdbusModem *object); guint (*get_state_failed_reason) (MmGdbusModem *object); GVariant * (*get_supported_bands) (MmGdbusModem *object); GVariant * (*get_supported_capabilities) (MmGdbusModem *object); guint (*get_supported_ip_families) (MmGdbusModem *object); GVariant * (*get_supported_modes) (MmGdbusModem *object); guint (*get_unlock_required) (MmGdbusModem *object); GVariant * (*get_unlock_retries) (MmGdbusModem *object); void (*state_changed) ( MmGdbusModem *object, gint arg_old, gint arg_new, guint arg_reason); };
Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.
GTypeInterface |
The parent interface. |
Handler for the "handle-command" signal. | |
Handler for the "handle-create-bearer" signal. | |
Handler for the "handle-delete-bearer" signal. | |
Handler for the "handle-enable" signal. | |
Handler for the "handle-factory-reset" signal. | |
Handler for the "handle-list-bearers" signal. | |
Handler for the "handle-reset" signal. | |
Handler for the "handle-set-current-bands" signal. | |
Handler for the "handle-set-current-capabilities" signal. | |
Handler for the "handle-set-current-modes" signal. | |
Handler for the "handle-set-power-state" signal. | |
Getter for the "access-technologies" property. | |
Getter for the "current-bands" property. | |
Getter for the "current-capabilities" property. | |
Getter for the "current-modes" property. | |
Getter for the "device" property. | |
Getter for the "device-identifier" property. | |
Getter for the "drivers" property. | |
Getter for the "equipment-identifier" property. | |
Getter for the "manufacturer" property. | |
Getter for the "max-active-bearers" property. | |
Getter for the "max-bearers" property. | |
Getter for the "model" property. | |
Getter for the "own-numbers" property. | |
Getter for the "plugin" property. | |
Getter for the "ports" property. | |
Getter for the "power-state" property. | |
Getter for the "primary-port" property. | |
Getter for the "revision" property. | |
Getter for the "signal-quality" property. | |
Getter for the "sim" property. | |
Getter for the "state" property. | |
Getter for the "state-failed-reason" property. | |
Getter for the "supported-bands" property. | |
Getter for the "supported-capabilities" property. | |
Getter for the "supported-ip-families" property. | |
Getter for the "supported-modes" property. | |
Getter for the "unlock-required" property. | |
Getter for the "unlock-retries" property. | |
Handler for the "state-changed" signal. |
guint mm_gdbus_modem_get_access_technologies
(MmGdbusModem *object
);
Gets the value of the "AccessTechnologies" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
GVariant * mm_gdbus_modem_get_current_modes (MmGdbusModem *object
);
Gets the value of the "CurrentModes" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_current_modes()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_current_modes (MmGdbusModem *object
);
Gets a copy of the "CurrentModes" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
GVariant * mm_gdbus_modem_get_current_bands (MmGdbusModem *object
);
Gets the value of the "CurrentBands" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_current_bands()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_current_bands (MmGdbusModem *object
);
Gets a copy of the "CurrentBands" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
guint mm_gdbus_modem_get_current_capabilities
(MmGdbusModem *object
);
Gets the value of the "CurrentCapabilities" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
const gchar * mm_gdbus_modem_get_device (MmGdbusModem *object
);
Gets the value of the "Device" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_device()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_device (MmGdbusModem *object
);
Gets a copy of the "Device" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
const gchar * mm_gdbus_modem_get_device_identifier
(MmGdbusModem *object
);
Gets the value of the "DeviceIdentifier" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_device_identifier()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_device_identifier
(MmGdbusModem *object
);
Gets a copy of the "DeviceIdentifier" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
const gchar *const * mm_gdbus_modem_get_drivers (MmGdbusModem *object
);
Gets the value of the "Drivers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_drivers()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar ** mm_gdbus_modem_dup_drivers (MmGdbusModem *object
);
Gets a copy of the "Drivers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_strfreev() . [transfer full]
|
const gchar * mm_gdbus_modem_get_equipment_identifier
(MmGdbusModem *object
);
Gets the value of the "EquipmentIdentifier" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_equipment_identifier()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_equipment_identifier
(MmGdbusModem *object
);
Gets a copy of the "EquipmentIdentifier" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
const gchar * mm_gdbus_modem_get_manufacturer (MmGdbusModem *object
);
Gets the value of the "Manufacturer" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_manufacturer()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_manufacturer (MmGdbusModem *object
);
Gets a copy of the "Manufacturer" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
guint mm_gdbus_modem_get_max_active_bearers
(MmGdbusModem *object
);
Gets the value of the "MaxActiveBearers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
guint mm_gdbus_modem_get_max_bearers (MmGdbusModem *object
);
Gets the value of the "MaxBearers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
const gchar * mm_gdbus_modem_get_model (MmGdbusModem *object
);
Gets the value of the "Model" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_model()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_model (MmGdbusModem *object
);
Gets a copy of the "Model" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
const gchar *const * mm_gdbus_modem_get_own_numbers (MmGdbusModem *object
);
Gets the value of the "OwnNumbers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_own_numbers()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar ** mm_gdbus_modem_dup_own_numbers (MmGdbusModem *object
);
Gets a copy of the "OwnNumbers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_strfreev() . [transfer full]
|
const gchar * mm_gdbus_modem_get_plugin (MmGdbusModem *object
);
Gets the value of the "Plugin" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_plugin()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_plugin (MmGdbusModem *object
);
Gets a copy of the "Plugin" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
guint mm_gdbus_modem_get_power_state (MmGdbusModem *object
);
Gets the value of the "PowerState" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
const gchar * mm_gdbus_modem_get_primary_port (MmGdbusModem *object
);
Gets the value of the "PrimaryPort" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_primary_port()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_primary_port (MmGdbusModem *object
);
Gets a copy of the "PrimaryPort" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
GVariant * mm_gdbus_modem_get_ports (MmGdbusModem *object
);
Gets the value of the "Ports" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_ports()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_ports (MmGdbusModem *object
);
Gets a copy of the "Ports" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
const gchar * mm_gdbus_modem_get_revision (MmGdbusModem *object
);
Gets the value of the "Revision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_revision()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_revision (MmGdbusModem *object
);
Gets a copy of the "Revision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
GVariant * mm_gdbus_modem_get_signal_quality (MmGdbusModem *object
);
Gets the value of the "SignalQuality" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_signal_quality()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_signal_quality (MmGdbusModem *object
);
Gets a copy of the "SignalQuality" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
const gchar * mm_gdbus_modem_get_sim (MmGdbusModem *object
);
Gets the value of the "Sim" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_sim()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
gchar * mm_gdbus_modem_dup_sim (MmGdbusModem *object
);
Gets a copy of the "Sim" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free() . [transfer full]
|
GVariant * mm_gdbus_modem_get_supported_capabilities
(MmGdbusModem *object
);
Gets the value of the "SupportedCapabilities" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_supported_capabilities()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_supported_capabilities
(MmGdbusModem *object
);
Gets a copy of the "SupportedCapabilities" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
gint mm_gdbus_modem_get_state (MmGdbusModem *object
);
Gets the value of the "State" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
guint mm_gdbus_modem_get_state_failed_reason
(MmGdbusModem *object
);
Gets the value of the "StateFailedReason" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
GVariant * mm_gdbus_modem_get_supported_bands (MmGdbusModem *object
);
Gets the value of the "SupportedBands" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_supported_bands()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_supported_bands (MmGdbusModem *object
);
Gets a copy of the "SupportedBands" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
guint mm_gdbus_modem_get_supported_ip_families
(MmGdbusModem *object
);
Gets the value of the "SupportedIpFamilies" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
GVariant * mm_gdbus_modem_get_supported_modes (MmGdbusModem *object
);
Gets the value of the "SupportedModes" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_supported_modes()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_supported_modes (MmGdbusModem *object
);
Gets a copy of the "SupportedModes" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
guint mm_gdbus_modem_get_unlock_required (MmGdbusModem *object
);
Gets the value of the "UnlockRequired" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value. |
GVariant * mm_gdbus_modem_get_unlock_retries (MmGdbusModem *object
);
Gets the value of the "UnlockRetries" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use mm_gdbus_modem_dup_unlock_retries()
if on another thread.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object . [transfer none]
|
GVariant * mm_gdbus_modem_dup_unlock_retries (MmGdbusModem *object
);
Gets a copy of the "UnlockRetries" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A MmGdbusModem. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref() . [transfer full]
|
void mm_gdbus_modem_call_enable (MmGdbusModem *proxy
,gboolean arg_enable
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Enable()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_enable_finish()
to get the result of the operation.
See mm_gdbus_modem_call_enable_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_enable_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_enable()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_enable() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_enable_sync (MmGdbusModem *proxy
,gboolean arg_enable
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Enable()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_enable()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_set_power_state (MmGdbusModem *proxy
,guint arg_state
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetPowerState()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_set_power_state_finish()
to get the result of the operation.
See mm_gdbus_modem_call_set_power_state_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_set_power_state_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_set_power_state()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_set_power_state() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_set_power_state_sync (MmGdbusModem *proxy
,guint arg_state
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetPowerState()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_set_power_state()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_create_bearer (MmGdbusModem *proxy
,GVariant *arg_properties
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the CreateBearer()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_create_bearer_finish()
to get the result of the operation.
See mm_gdbus_modem_call_create_bearer_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_create_bearer_finish (MmGdbusModem *proxy
,gchar **out_path
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_create_bearer()
.
|
A MmGdbusModemProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_create_bearer() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_create_bearer_sync (MmGdbusModem *proxy
,GVariant *arg_properties
,gchar **out_path
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the CreateBearer()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_create_bearer()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_delete_bearer (MmGdbusModem *proxy
,const gchar *arg_bearer
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the DeleteBearer()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_delete_bearer_finish()
to get the result of the operation.
See mm_gdbus_modem_call_delete_bearer_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_delete_bearer_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_delete_bearer()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_delete_bearer() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_delete_bearer_sync (MmGdbusModem *proxy
,const gchar *arg_bearer
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the DeleteBearer()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_delete_bearer()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_list_bearers (MmGdbusModem *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ListBearers()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_list_bearers_finish()
to get the result of the operation.
See mm_gdbus_modem_call_list_bearers_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_list_bearers_finish (MmGdbusModem *proxy
,gchar ***out_bearers
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_list_bearers()
.
|
A MmGdbusModemProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_list_bearers() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_list_bearers_sync (MmGdbusModem *proxy
,gchar ***out_bearers
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ListBearers()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_list_bearers()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_reset (MmGdbusModem *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Reset()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_reset_finish()
to get the result of the operation.
See mm_gdbus_modem_call_reset_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_reset_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_reset()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_reset() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_reset_sync (MmGdbusModem *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Reset()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_reset()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_factory_reset (MmGdbusModem *proxy
,const gchar *arg_code
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the FactoryReset()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_factory_reset_finish()
to get the result of the operation.
See mm_gdbus_modem_call_factory_reset_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_factory_reset_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_factory_reset()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_factory_reset() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_factory_reset_sync (MmGdbusModem *proxy
,const gchar *arg_code
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the FactoryReset()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_factory_reset()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_set_current_modes (MmGdbusModem *proxy
,GVariant *arg_modes
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetCurrentModes()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_set_current_modes_finish()
to get the result of the operation.
See mm_gdbus_modem_call_set_current_modes_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_set_current_modes_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_set_current_modes()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_set_current_modes() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_set_current_modes_sync (MmGdbusModem *proxy
,GVariant *arg_modes
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetCurrentModes()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_set_current_modes()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_set_current_bands (MmGdbusModem *proxy
,GVariant *arg_bands
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetCurrentBands()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_set_current_bands_finish()
to get the result of the operation.
See mm_gdbus_modem_call_set_current_bands_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_set_current_bands_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_set_current_bands()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_set_current_bands() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_set_current_bands_sync (MmGdbusModem *proxy
,GVariant *arg_bands
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetCurrentBands()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_set_current_bands()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_set_current_capabilities (MmGdbusModem *proxy
,guint arg_capabilities
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetCurrentCapabilities()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_set_current_capabilities_finish()
to get the result of the operation.
See mm_gdbus_modem_call_set_current_capabilities_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_set_current_capabilities_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_set_current_capabilities()
.
|
A MmGdbusModemProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_set_current_capabilities() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_set_current_capabilities_sync (MmGdbusModem *proxy
,guint arg_capabilities
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetCurrentCapabilities()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_set_current_capabilities()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void mm_gdbus_modem_call_command (MmGdbusModem *proxy
,const gchar *arg_cmd
,guint arg_timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Command()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call mm_gdbus_modem_call_command_finish()
to get the result of the operation.
See mm_gdbus_modem_call_command_sync()
for the synchronous, blocking version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean mm_gdbus_modem_call_command_finish (MmGdbusModem *proxy
,gchar **out_response
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_command()
.
|
A MmGdbusModemProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_call_command() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
gboolean mm_gdbus_modem_call_command_sync (MmGdbusModem *proxy
,const gchar *arg_cmd
,guint arg_timeout
,gchar **out_response
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Command()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_command()
for the asynchronous version of this method.
|
A MmGdbusModemProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
"access-technologies"
property"access-technologies" guint : Read / Write
Represents the D-Bus property "AccessTechnologies".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"current-bands"
property"current-bands" GVariant* : Read / Write
Represents the D-Bus property "CurrentBands".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<au>
Default value: NULL
"current-capabilities"
property"current-capabilities" guint : Read / Write
Represents the D-Bus property "CurrentCapabilities".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"current-modes"
property"current-modes" GVariant* : Read / Write
Represents the D-Bus property "CurrentModes".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<(uu)>
Default value: NULL
"device"
property"device" gchar* : Read / Write
Represents the D-Bus property "Device".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"device-identifier"
property"device-identifier" gchar* : Read / Write
Represents the D-Bus property "DeviceIdentifier".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"drivers"
property"drivers" GStrv : Read / Write
Represents the D-Bus property "Drivers".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
"equipment-identifier"
property"equipment-identifier" gchar* : Read / Write
Represents the D-Bus property "EquipmentIdentifier".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"manufacturer"
property"manufacturer" gchar* : Read / Write
Represents the D-Bus property "Manufacturer".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"max-active-bearers"
property"max-active-bearers" guint : Read / Write
Represents the D-Bus property "MaxActiveBearers".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"max-bearers"
property"max-bearers" guint : Read / Write
Represents the D-Bus property "MaxBearers".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"model"
property"model" gchar* : Read / Write
Represents the D-Bus property "Model".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"own-numbers"
property"own-numbers" GStrv : Read / Write
Represents the D-Bus property "OwnNumbers".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
"plugin"
property"plugin" gchar* : Read / Write
Represents the D-Bus property "Plugin".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"ports"
property"ports" GVariant* : Read / Write
Represents the D-Bus property "Ports".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<a(su)>
Default value: NULL
"power-state"
property"power-state" guint : Read / Write
Represents the D-Bus property "PowerState".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"primary-port"
property"primary-port" gchar* : Read / Write
Represents the D-Bus property "PrimaryPort".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"revision"
property"revision" gchar* : Read / Write
Represents the D-Bus property "Revision".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"signal-quality"
property"signal-quality" GVariant* : Read / Write
Represents the D-Bus property "SignalQuality".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<(ub)>
Default value: NULL
"sim"
property"sim" gchar* : Read / Write
Represents the D-Bus property "Sim".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: NULL
"state"
property"state" gint : Read / Write
Represents the D-Bus property "State".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"state-failed-reason"
property"state-failed-reason" guint : Read / Write
Represents the D-Bus property "StateFailedReason".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"supported-bands"
property"supported-bands" GVariant* : Read / Write
Represents the D-Bus property "SupportedBands".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<au>
Default value: NULL
"supported-capabilities"
property"supported-capabilities" GVariant* : Read / Write
Represents the D-Bus property "SupportedCapabilities".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<au>
Default value: NULL
"supported-ip-families"
property"supported-ip-families" guint : Read / Write
Represents the D-Bus property "SupportedIpFamilies".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"supported-modes"
property"supported-modes" GVariant* : Read / Write
Represents the D-Bus property "SupportedModes".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<a(uu)>
Default value: NULL
"unlock-required"
property"unlock-required" guint : Read / Write
Represents the D-Bus property "UnlockRequired".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Default value: 0
"unlock-retries"
property"unlock-retries" GVariant* : Read / Write
Represents the D-Bus property "UnlockRetries".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Allowed values: GVariant<a{uu}>
Default value: NULL
"handle-command"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
gchar *arg_cmd,
guint arg_timeout,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Command()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_command()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-create-bearer"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
GVariant *arg_properties,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the CreateBearer()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_create_bearer()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-delete-bearer"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
gchar *arg_bearer,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the DeleteBearer()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_delete_bearer()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-enable"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
gboolean arg_enable,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Enable()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_enable()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-factory-reset"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
gchar *arg_code,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the FactoryReset()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_factory_reset()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-list-bearers"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the ListBearers()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_list_bearers()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-reset"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Reset()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_reset()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-set-current-bands"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
GVariant *arg_bands,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the SetCurrentBands()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_set_current_bands()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-set-current-capabilities"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
guint arg_capabilities,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the SetCurrentCapabilities()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_set_current_capabilities()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-set-current-modes"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
GVariant *arg_modes,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the SetCurrentModes()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_set_current_modes()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-set-power-state"
signalgboolean user_function (MmGdbusModem *object,
GDBusMethodInvocation *invocation,
guint arg_state,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the SetPowerState()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call mm_gdbus_modem_complete_set_power_state()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
|
A MmGdbusModem. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"state-changed"
signalvoid user_function (MmGdbusModem *object,
gint arg_old,
gint arg_new,
guint arg_reason,
gpointer user_data) : Run Last
On the client-side, this signal is emitted whenever the D-Bus signal "StateChanged" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
|
A MmGdbusModem. |
|
Argument. |
|
Argument. |
|
Argument. |
|
user data set when the signal handler was connected. |