ModemManager.GdbusModem¶
- Implementations:
ModemManager.GdbusModemProxy
,ModemManager.GdbusModemSkeleton
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
AccessTechnologies |
||
[ |
r/w |
Bearers |
|
r/w |
CarrierConfiguration |
||
r/w |
CarrierConfigurationRevision |
||
r/w |
CurrentBands |
||
r/w |
CurrentCapabilities |
||
r/w |
CurrentModes |
||
r/w |
Device |
||
r/w |
DeviceIdentifier |
||
[ |
r/w |
Drivers |
|
r/w |
EquipmentIdentifier |
||
r/w |
HardwareRevision |
||
r/w |
Manufacturer |
||
r/w |
MaxActiveBearers |
||
r/w |
MaxActiveMultiplexedBearers |
||
r/w |
MaxBearers |
||
r/w |
Model |
||
[ |
r/w |
OwnNumbers |
|
r/w |
Physdev |
||
r/w |
Plugin |
||
r/w |
Ports |
||
r/w |
PowerState |
||
r/w |
PrimaryPort |
||
r/w |
PrimarySimSlot |
||
r/w |
Revision |
||
r/w |
SignalQuality |
||
r/w |
Sim |
||
[ |
r/w |
SimSlots |
|
r/w |
State |
||
r/w |
StateFailedReason |
||
r/w |
SupportedBands |
||
r/w |
SupportedCapabilities |
||
r/w |
SupportedIpFamilies |
||
r/w |
SupportedModes |
||
r/w |
UnlockRequired |
||
r/w |
UnlockRetries |
Signals¶
Name |
Short Description |
---|---|
Signal emitted when a remote caller is invoking the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Modem.StateChanged]’ is received. |
Fields¶
None
Class Details¶
- class ModemManager.GdbusModem¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem [gdbus-interface-org-freedesktop-ModemManager1-Modem.top_of_page]’.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem [gdbus-interface-org-freedesktop-ModemManager1-Modem.top_of_page]’ D-Bus interface.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModem
interface for a concrete class. The properties are overridden in the order they are defined.
- call_command(arg_cmd, arg_timeout, cancellable, callback, *user_data)¶
- Parameters:
arg_cmd (
str
) – Argument to pass with the method invocation.arg_timeout (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_command_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_command_sync
() for the synchronous, blocking version of this method.
- call_command_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_command
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_response:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_command
().
- call_command_sync(arg_cmd, arg_timeout, cancellable)¶
- Parameters:
arg_cmd (
str
) – Argument to pass with the method invocation.arg_timeout (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_response:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_command
() for the asynchronous version of this method.
- call_create_bearer(arg_properties, cancellable, callback, *user_data)¶
- Parameters:
arg_properties (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_create_bearer_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_create_bearer_sync
() for the synchronous, blocking version of this method.
- call_create_bearer_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_create_bearer
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_path:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_create_bearer
().
- call_create_bearer_sync(arg_properties, cancellable)¶
- Parameters:
arg_properties (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_path:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_create_bearer
() for the asynchronous version of this method.
- call_delete_bearer(arg_bearer, cancellable, callback, *user_data)¶
- Parameters:
arg_bearer (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_delete_bearer_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_delete_bearer_sync
() for the synchronous, blocking version of this method.
- call_delete_bearer_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_delete_bearer
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_delete_bearer
().
- call_delete_bearer_sync(arg_bearer, cancellable)¶
- Parameters:
arg_bearer (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_delete_bearer
() for the asynchronous version of this method.
- call_enable(arg_enable, cancellable, callback, *user_data)¶
- Parameters:
arg_enable (
bool
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_enable_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_enable_sync
() for the synchronous, blocking version of this method.
- call_enable_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_enable
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_enable
().
- call_enable_sync(arg_enable, cancellable)¶
- Parameters:
arg_enable (
bool
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_enable
() for the asynchronous version of this method.
- call_factory_reset(arg_code, cancellable, callback, *user_data)¶
- Parameters:
arg_code (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_factory_reset_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_factory_reset_sync
() for the synchronous, blocking version of this method.
- call_factory_reset_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_factory_reset
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_factory_reset
().
- call_factory_reset_sync(arg_code, cancellable)¶
- Parameters:
arg_code (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_factory_reset
() for the asynchronous version of this method.
- call_get_cell_info(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_get_cell_info_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_get_cell_info_sync
() for the synchronous, blocking version of this method.
- call_get_cell_info_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_get_cell_info
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_cell_info:
Return location for return parameter or
None
to ignore.
- Return type:
(
bool
, out_cell_info:GLib.Variant
)
Finishes an operation started with
ModemManager.GdbusModem.call_get_cell_info
().
- call_get_cell_info_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_cell_info:
Return location for return parameter or
None
to ignore.
- Return type:
(
bool
, out_cell_info:GLib.Variant
)
Synchronously invokes the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_get_cell_info
() for the asynchronous version of this method.
- call_list_bearers(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_list_bearers_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_list_bearers_sync
() for the synchronous, blocking version of this method.
- call_list_bearers_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_list_bearers
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_bearers:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_list_bearers
().
- call_list_bearers_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_bearers:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_list_bearers
() for the asynchronous version of this method.
- call_reset(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_reset_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_reset_sync
() for the synchronous, blocking version of this method.
- call_reset_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_reset
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_reset
().
- call_reset_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_reset
() for the asynchronous version of this method.
- call_set_current_bands(arg_bands, cancellable, callback, *user_data)¶
- Parameters:
arg_bands (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_set_current_bands_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_set_current_bands_sync
() for the synchronous, blocking version of this method.
- call_set_current_bands_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_set_current_bands
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_set_current_bands
().
- call_set_current_bands_sync(arg_bands, cancellable)¶
- Parameters:
arg_bands (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_set_current_bands
() for the asynchronous version of this method.
- call_set_current_capabilities(arg_capabilities, cancellable, callback, *user_data)¶
- Parameters:
arg_capabilities (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_set_current_capabilities_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_set_current_capabilities_sync
() for the synchronous, blocking version of this method.
- call_set_current_capabilities_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_set_current_capabilities
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_set_current_capabilities
().
- call_set_current_capabilities_sync(arg_capabilities, cancellable)¶
- Parameters:
arg_capabilities (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_set_current_capabilities
() for the asynchronous version of this method.
- call_set_current_modes(arg_modes, cancellable, callback, *user_data)¶
- Parameters:
arg_modes (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_set_current_modes_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_set_current_modes_sync
() for the synchronous, blocking version of this method.
- call_set_current_modes_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_set_current_modes
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_set_current_modes
().
- call_set_current_modes_sync(arg_modes, cancellable)¶
- Parameters:
arg_modes (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_set_current_modes
() for the asynchronous version of this method.
- call_set_power_state(arg_state, cancellable, callback, *user_data)¶
- Parameters:
arg_state (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_set_power_state_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_set_power_state_sync
() for the synchronous, blocking version of this method.
- call_set_power_state_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_set_power_state
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_set_power_state
().
- call_set_power_state_sync(arg_state, cancellable)¶
- Parameters:
arg_state (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_set_power_state
() for the asynchronous version of this method.
- call_set_primary_sim_slot(arg_sim_slot, cancellable, callback, *user_data)¶
- Parameters:
arg_sim_slot (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callModemManager.GdbusModem.call_set_primary_sim_slot_finish
() to get the result of the operation.See
ModemManager.GdbusModem.call_set_primary_sim_slot_sync
() for the synchronous, blocking version of this method.
- call_set_primary_sim_slot_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModem.call_set_primary_sim_slot
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModem.call_set_primary_sim_slot
().
- call_set_primary_sim_slot_sync(arg_sim_slot, cancellable)¶
- Parameters:
arg_sim_slot (
int
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusModem.call_set_primary_sim_slot
() for the asynchronous version of this method.
- complete_command(invocation, response)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.response (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_create_bearer(invocation, path)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.path (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_delete_bearer(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_enable(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_factory_reset(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_get_cell_info(invocation, cell_info)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.cell_info (
GLib.Variant
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_list_bearers(invocation, bearers)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.bearers (
str
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_reset(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_set_current_bands(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_set_current_capabilities(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_set_current_modes(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_set_power_state(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- complete_set_primary_sim_slot(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
- emit_state_changed(arg_old, arg_new, arg_reason)¶
- Parameters:
Emits the ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Modem.StateChanged]’ D-Bus signal.
- do_handle_command(invocation, arg_cmd, arg_timeout) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_cmd (
str
) –arg_timeout (
int
) –
- Return type:
- do_handle_create_bearer(invocation, arg_properties) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_properties (
GLib.Variant
) –
- Return type:
- do_handle_delete_bearer(invocation, arg_bearer) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_bearer (
str
) –
- Return type:
- do_handle_enable(invocation, arg_enable) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_enable (
bool
) –
- Return type:
- do_handle_factory_reset(invocation, arg_code) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_code (
str
) –
- Return type:
- do_handle_get_cell_info(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_list_bearers(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_reset(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_set_current_bands(invocation, arg_bands) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_bands (
GLib.Variant
) –
- Return type:
- do_handle_set_current_capabilities(invocation, arg_capabilities) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_capabilities (
int
) –
- Return type:
- do_handle_set_current_modes(invocation, arg_modes) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_modes (
GLib.Variant
) –
- Return type:
- do_handle_set_power_state(invocation, arg_state) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_state (
int
) –
- Return type:
- do_handle_set_primary_sim_slot(invocation, arg_sim_slot) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_sim_slot (
int
) –
- Return type:
Signal Details¶
- ModemManager.GdbusModem.signals.handle_command(gdbus_modem, invocation, arg_cmd, arg_timeout)¶
- Signal Name:
handle-command
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_cmd (
str
) – Argument passed by remote caller.arg_timeout (
int
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_command
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_create_bearer(gdbus_modem, invocation, arg_properties)¶
- Signal Name:
handle-create-bearer
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_properties (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_create_bearer
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_delete_bearer(gdbus_modem, invocation, arg_bearer)¶
- Signal Name:
handle-delete-bearer
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_bearer (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_delete_bearer
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_enable(gdbus_modem, invocation, arg_enable)¶
- Signal Name:
handle-enable
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_enable (
bool
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_enable
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_factory_reset(gdbus_modem, invocation, arg_code)¶
- Signal Name:
handle-factory-reset
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_code (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_factory_reset
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_get_cell_info(gdbus_modem, invocation)¶
- Signal Name:
handle-get-cell-info
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_get_cell_info
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_list_bearers(gdbus_modem, invocation)¶
- Signal Name:
handle-list-bearers
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_list_bearers
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_reset(gdbus_modem, invocation)¶
- Signal Name:
handle-reset
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_reset
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_set_current_bands(gdbus_modem, invocation, arg_bands)¶
- Signal Name:
handle-set-current-bands
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_bands (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_set_current_bands
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_set_current_capabilities(gdbus_modem, invocation, arg_capabilities)¶
- Signal Name:
handle-set-current-capabilities
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_capabilities (
int
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_set_current_capabilities
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_set_current_modes(gdbus_modem, invocation, arg_modes)¶
- Signal Name:
handle-set-current-modes
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_modes (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_set_current_modes
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_set_power_state(gdbus_modem, invocation, arg_state)¶
- Signal Name:
handle-set-power-state
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_state (
int
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_set_power_state
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.handle_set_primary_sim_slot(gdbus_modem, invocation, arg_sim_slot)¶
- Signal Name:
handle-set-primary-sim-slot
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_sim_slot (
int
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callModemManager.GdbusModem.complete_set_primary_sim_slot
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- ModemManager.GdbusModem.signals.state_changed(gdbus_modem, arg_old, arg_new, arg_reason)¶
- Signal Name:
state-changed
- Flags:
- Parameters:
gdbus_modem (
ModemManager.GdbusModem
) – The object which received the signalarg_old (
int
) – Argument.arg_new (
int
) – Argument.arg_reason (
int
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Modem.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.
Property Details¶
- ModemManager.GdbusModem.props.access_technologies¶
-
Represents the D-Bus property ‘“AccessTechnologies” [gdbus-property-org-freedesktop-ModemManager1-Modem.AccessTechnologies]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.bearers¶
-
Represents the D-Bus property ‘“Bearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.Bearers]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.carrier_configuration¶
-
Represents the D-Bus property ‘“CarrierConfiguration” [gdbus-property-org-freedesktop-ModemManager1-Modem.CarrierConfiguration]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.carrier_configuration_revision¶
-
Represents the D-Bus property ‘“CarrierConfigurationRevision” [gdbus-property-org-freedesktop-ModemManager1-Modem.CarrierConfigurationRevision]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.current_bands¶
- Name:
current-bands
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“CurrentBands” [gdbus-property-org-freedesktop-ModemManager1-Modem.CurrentBands]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.current_capabilities¶
-
Represents the D-Bus property ‘“CurrentCapabilities” [gdbus-property-org-freedesktop-ModemManager1-Modem.CurrentCapabilities]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.current_modes¶
- Name:
current-modes
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“CurrentModes” [gdbus-property-org-freedesktop-ModemManager1-Modem.CurrentModes]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.device¶
-
Represents the D-Bus property ‘“Device” [gdbus-property-org-freedesktop-ModemManager1-Modem.Device]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.device_identifier¶
-
Represents the D-Bus property ‘“DeviceIdentifier” [gdbus-property-org-freedesktop-ModemManager1-Modem.DeviceIdentifier]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.drivers¶
-
Represents the D-Bus property ‘“Drivers” [gdbus-property-org-freedesktop-ModemManager1-Modem.Drivers]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.equipment_identifier¶
-
Represents the D-Bus property ‘“EquipmentIdentifier” [gdbus-property-org-freedesktop-ModemManager1-Modem.EquipmentIdentifier]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.hardware_revision¶
-
Represents the D-Bus property ‘“HardwareRevision” [gdbus-property-org-freedesktop-ModemManager1-Modem.HardwareRevision]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.manufacturer¶
-
Represents the D-Bus property ‘“Manufacturer” [gdbus-property-org-freedesktop-ModemManager1-Modem.Manufacturer]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.max_active_bearers¶
-
Represents the D-Bus property ‘“MaxActiveBearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.MaxActiveBearers]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.max_active_multiplexed_bearers¶
-
Represents the D-Bus property ‘“MaxActiveMultiplexedBearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.MaxActiveMultiplexedBearers]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.max_bearers¶
-
Represents the D-Bus property ‘“MaxBearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.MaxBearers]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.model¶
-
Represents the D-Bus property ‘“Model” [gdbus-property-org-freedesktop-ModemManager1-Modem.Model]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.own_numbers¶
-
Represents the D-Bus property ‘“OwnNumbers” [gdbus-property-org-freedesktop-ModemManager1-Modem.OwnNumbers]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.physdev¶
-
Represents the D-Bus property ‘“Physdev” [gdbus-property-org-freedesktop-ModemManager1-Modem.Physdev]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.plugin¶
-
Represents the D-Bus property ‘“Plugin” [gdbus-property-org-freedesktop-ModemManager1-Modem.Plugin]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.ports¶
- Name:
ports
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“Ports” [gdbus-property-org-freedesktop-ModemManager1-Modem.Ports]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.power_state¶
-
Represents the D-Bus property ‘“PowerState” [gdbus-property-org-freedesktop-ModemManager1-Modem.PowerState]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.primary_port¶
-
Represents the D-Bus property ‘“PrimaryPort” [gdbus-property-org-freedesktop-ModemManager1-Modem.PrimaryPort]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.primary_sim_slot¶
-
Represents the D-Bus property ‘“PrimarySimSlot” [gdbus-property-org-freedesktop-ModemManager1-Modem.PrimarySimSlot]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.revision¶
-
Represents the D-Bus property ‘“Revision” [gdbus-property-org-freedesktop-ModemManager1-Modem.Revision]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.signal_quality¶
- Name:
signal-quality
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“SignalQuality” [gdbus-property-org-freedesktop-ModemManager1-Modem.SignalQuality]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.sim¶
-
Represents the D-Bus property ‘“Sim” [gdbus-property-org-freedesktop-ModemManager1-Modem.Sim]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.sim_slots¶
-
Represents the D-Bus property ‘“SimSlots” [gdbus-property-org-freedesktop-ModemManager1-Modem.SimSlots]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.state¶
-
Represents the D-Bus property ‘“State” [gdbus-property-org-freedesktop-ModemManager1-Modem.State]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.state_failed_reason¶
-
Represents the D-Bus property ‘“StateFailedReason” [gdbus-property-org-freedesktop-ModemManager1-Modem.StateFailedReason]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.supported_bands¶
- Name:
supported-bands
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“SupportedBands” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedBands]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.supported_capabilities¶
- Name:
supported-capabilities
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“SupportedCapabilities” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedCapabilities]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.supported_ip_families¶
-
Represents the D-Bus property ‘“SupportedIpFamilies” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedIpFamilies]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.supported_modes¶
- Name:
supported-modes
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“SupportedModes” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedModes]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.unlock_required¶
-
Represents the D-Bus property ‘“UnlockRequired” [gdbus-property-org-freedesktop-ModemManager1-Modem.UnlockRequired]’.
Since the D-Bus property for this
GObject.Object
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.
- ModemManager.GdbusModem.props.unlock_retries¶
- Name:
unlock-retries
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“UnlockRetries” [gdbus-property-org-freedesktop-ModemManager1-Modem.UnlockRetries]’.
Since the D-Bus property for this
GObject.Object
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.