Top |
MmGdbusModemMmGdbusModem — Generated C code for the org.freedesktop.ModemManager1.Modem D-Bus interface |
guint | access-technologies | Read / Write |
GStrv | bearers | Read / Write |
char * | carrier-configuration | Read / Write |
char * | carrier-configuration-revision | Read / Write |
GVariant * | current-bands | Read / Write |
guint | current-capabilities | Read / Write |
GVariant * | current-modes | Read / Write |
char * | device | Read / Write |
char * | device-identifier | Read / Write |
GStrv | drivers | Read / Write |
char * | equipment-identifier | Read / Write |
char * | hardware-revision | Read / Write |
char * | manufacturer | Read / Write |
guint | max-active-bearers | Read / Write |
guint | max-bearers | Read / Write |
char * | model | Read / Write |
GStrv | own-numbers | Read / Write |
char * | plugin | Read / Write |
GVariant * | ports | Read / Write |
guint | power-state | Read / Write |
char * | primary-port | Read / Write |
guint | primary-sim-slot | Read / Write |
char * | revision | Read / Write |
GVariant * | signal-quality | Read / Write |
char * | sim | Read / Write |
GStrv | sim-slots | Read / Write |
int | state | Read / Write |
guint | state-failed-reason | Read / Write |
GVariant * | supported-bands | Read / Write |
GVariant * | supported-capabilities | Read / Write |
guint | supported-ip-families | Read / Write |
GVariant * | supported-modes | Read / Write |
guint | unlock-required | Read / Write |
GVariant * | unlock-retries | Read / Write |
MmGdbusModem is implemented by MMModem, MmGdbusModemProxy and MmGdbusModemSkeleton.
This section contains code for working with the org.freedesktop.ModemManager1.Modem D-Bus interface in C.
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.
[skip]
const gchar *const *
mm_gdbus_modem_get_bearers (MmGdbusModem *object
);
Gets the value of the "Bearers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_bearers()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
gchar **
mm_gdbus_modem_dup_bearers (MmGdbusModem *object
);
Gets a copy of the "Bearers" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full][nullable]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_current_modes()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_current_bands()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_device()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_device_identifier()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_drivers()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full][nullable]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_equipment_identifier()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_manufacturer()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
[skip]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_model()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_own_numbers()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full][nullable]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_plugin()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_primary_port()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_ports()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_revision()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
const gchar *
mm_gdbus_modem_get_carrier_configuration
(MmGdbusModem *object
);
Gets the value of the "CarrierConfiguration" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_carrier_configuration()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
gchar *
mm_gdbus_modem_dup_carrier_configuration
(MmGdbusModem *object
);
Gets a copy of the "CarrierConfiguration" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
mm_gdbus_modem_get_carrier_configuration_revision
(MmGdbusModem *object
);
Gets the value of the "CarrierConfigurationRevision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_carrier_configuration_revision()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
gchar *
mm_gdbus_modem_dup_carrier_configuration_revision
(MmGdbusModem *object
);
Gets a copy of the "CarrierConfigurationRevision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
const gchar *
mm_gdbus_modem_get_hardware_revision (MmGdbusModem *object
);
Gets the value of the "HardwareRevision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_hardware_revision()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
gchar *
mm_gdbus_modem_dup_hardware_revision (MmGdbusModem *object
);
Gets a copy of the "HardwareRevision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_signal_quality()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_sim()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
gchar **
mm_gdbus_modem_dup_sim_slots (MmGdbusModem *object
);
Gets a copy of the "SimSlots" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full][nullable]
const gchar *const *
mm_gdbus_modem_get_sim_slots (MmGdbusModem *object
);
Gets the value of the "SimSlots" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_sim_slots()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
guint
mm_gdbus_modem_get_primary_sim_slot (MmGdbusModem *object
);
Gets the value of the "PrimarySimSlot" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_supported_capabilities()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
[skip]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_supported_bands()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_supported_modes()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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.
[skip]
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.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_dup_unlock_retries()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_enable |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_call_enable_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_enable()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_enable |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_state |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_state |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_properties |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
out_path |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_properties |
Argument to pass with the method invocation. |
|
out_path |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_bearer |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_bearer |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
out_bearers |
Return location for return parameter or |
[out][optional][array zero-terminated=1] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
out_bearers |
Return location for return parameter or |
[out][optional][array zero-terminated=1] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_call_reset_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_reset()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_code |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_code |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_modes |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_modes |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_bands |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_bands |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_capabilities |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_capabilities |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_call_set_primary_sim_slot (MmGdbusModem *proxy
,guint arg_sim_slot
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetPrimarySimSlot()
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 (see g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_call_set_primary_sim_slot_finish()
to get the result of the operation.
See mm_gdbus_modem_call_set_primary_sim_slot_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_sim_slot |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_call_set_primary_sim_slot_finish (MmGdbusModem *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_call_set_primary_sim_slot()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_call_set_primary_sim_slot_sync (MmGdbusModem *proxy
,guint arg_sim_slot
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetPrimarySimSlot()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_call_set_primary_sim_slot()
for the asynchronous version of this method.
proxy |
||
arg_sim_slot |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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 (see g_main_context_push_thread_default()
).
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.
proxy |
||
arg_cmd |
Argument to pass with the method invocation. |
|
arg_timeout |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
out_response |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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.
proxy |
||
arg_cmd |
Argument to pass with the method invocation. |
|
arg_timeout |
Argument to pass with the method invocation. |
|
out_response |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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); gboolean (*handle_set_primary_sim_slot) ( MmGdbusModem *object, GDBusMethodInvocation *invocation, guint arg_sim_slot); guint (*get_access_technologies) (MmGdbusModem *object); const gchar *const * (*get_bearers) (MmGdbusModem *object); const gchar * (*get_carrier_configuration) (MmGdbusModem *object); const gchar * (*get_carrier_configuration_revision) (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_hardware_revision) (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); guint (*get_primary_sim_slot) (MmGdbusModem *object); const gchar * (*get_revision) (MmGdbusModem *object); GVariant * (*get_signal_quality) (MmGdbusModem *object); const gchar * (*get_sim) (MmGdbusModem *object); const gchar *const * (*get_sim_slots) (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. |
||
Handler for the “handle-set-primary-sim-slot” signal. |
||
Getter for the “access-technologies” property. |
||
Getter for the “bearers” property. |
||
Getter for the “carrier-configuration” property. |
||
Getter for the “carrier-configuration-revision” 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 “hardware-revision” 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 “primary-sim-slot” property. |
||
Getter for the “revision” property. |
||
Getter for the “signal-quality” property. |
||
Getter for the “sim” property. |
||
Getter for the “sim-slots” 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. |
“access-technologies”
property“access-technologies” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“bearers”
property“bearers” GStrv
Represents the D-Bus property "Bearers".
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.
Owner: MmGdbusModem
Flags: Read / Write
“carrier-configuration”
property “carrier-configuration” char *
Represents the D-Bus property "CarrierConfiguration".
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“carrier-configuration-revision”
property “carrier-configuration-revision” char *
Represents the D-Bus property "CarrierConfigurationRevision".
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“current-bands”
property“current-bands” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<au>
Default value: NULL
“current-capabilities”
property“current-capabilities” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“current-modes”
property“current-modes” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<(uu)>
Default value: NULL
“device”
property “device” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“device-identifier”
property “device-identifier” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“drivers”
property“drivers” GStrv
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.
Owner: MmGdbusModem
Flags: Read / Write
“equipment-identifier”
property “equipment-identifier” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“hardware-revision”
property “hardware-revision” char *
Represents the D-Bus property "HardwareRevision".
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“manufacturer”
property “manufacturer” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“max-active-bearers”
property“max-active-bearers” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“max-bearers”
property“max-bearers” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“model”
property “model” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“own-numbers”
property“own-numbers” GStrv
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.
Owner: MmGdbusModem
Flags: Read / Write
“plugin”
property “plugin” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“ports”
property“ports” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<a(su)>
Default value: NULL
“power-state”
property“power-state” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“primary-port”
property “primary-port” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“primary-sim-slot”
property“primary-sim-slot” guint
Represents the D-Bus property "PrimarySimSlot".
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“revision”
property “revision” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“signal-quality”
property“signal-quality” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<(ub)>
Default value: NULL
“sim”
property “sim” char *
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: NULL
“sim-slots”
property“sim-slots” GStrv
Represents the D-Bus property "SimSlots".
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.
Owner: MmGdbusModem
Flags: Read / Write
“state”
property “state” int
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“state-failed-reason”
property“state-failed-reason” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“supported-bands”
property“supported-bands” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<au>
Default value: NULL
“supported-capabilities”
property“supported-capabilities” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<au>
Default value: NULL
“supported-ip-families”
property“supported-ip-families” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“supported-modes”
property“supported-modes” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<a(uu)>
Default value: NULL
“unlock-required”
property“unlock-required” guint
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.
Owner: MmGdbusModem
Flags: Read / Write
Default value: 0
“unlock-retries”
property“unlock-retries” GVariant *
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.
Owner: MmGdbusModem
Flags: Read / Write
Allowed values: GVariant<a{uu}>
Default value: NULL
“handle-command”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, char *arg_cmd, guint arg_timeout, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_cmd |
Argument passed by remote caller. |
|
arg_timeout |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-create-bearer”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, GVariant *arg_properties, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_properties |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-delete-bearer”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, char *arg_bearer, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_bearer |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-enable”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, gboolean arg_enable, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_enable |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-factory-reset”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, char *arg_code, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_code |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-list-bearers”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-reset”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-current-bands”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, GVariant *arg_bands, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_bands |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-current-capabilities”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, guint arg_capabilities, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_capabilities |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-current-modes”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, GVariant *arg_modes, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_modes |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-power-state”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, guint arg_state, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_state |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“handle-set-primary-sim-slot”
signalgboolean user_function (MmGdbusModem *object, GDBusMethodInvocation *invocation, guint arg_sim_slot, gpointer user_data)
Signal emitted when a remote caller is invoking the SetPrimarySimSlot()
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_primary_sim_slot()
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.
object |
A MmGdbusModem. |
|
invocation |
||
arg_sim_slot |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“state-changed”
signalvoid user_function (MmGdbusModem *object, int arg_old, int arg_new, guint arg_reason, gpointer user_data)
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.
object |
A MmGdbusModem. |
|
arg_old |
Argument. |
|
arg_new |
Argument. |
|
arg_reason |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last