ModemManager.Cbm¶
- Subclasses:
None
Methods¶
- Inherited:
ModemManager.GdbusCbmProxy (6), Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), ModemManager.GdbusCbm (2)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
unused |
r |
Class Details¶
- class ModemManager.Cbm(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.Cbm
structure contains private data and should only be accessed using the provided API.- dup_path()¶
- Returns:
The DBus path of the
ModemManager.Cbm
object. The returned value should be freed withGLib.free
().- Return type:
Gets a copy of the DBus path of the
ModemManager.Cbm
object.New in version 1.24.
- dup_text()¶
- Returns:
The message text, or
None
if it doesn’t contain any (e.g. contains data instead). The returned value should be freed withGLib.free
().- Return type:
Gets the message text, in UTF-8.
New in version 1.24.
- get_channel()¶
- Returns:
The channel
- Return type:
Gets the channel of this CBM.
New in version 1.24.
- get_message_code()¶
- Returns:
The message code
- Return type:
Gets the message code of this CBM.
New in version 1.24.
- get_path()¶
- Returns:
The DBus path of the
ModemManager.Cbm
object.- Return type:
Gets the DBus path of the
ModemManager.Cbm
object.New in version 1.24.
- get_state()¶
- Returns:
A
ModemManager.CbmState
specifying the state.- Return type:
Gets the state of this CBM.
New in version 1.24.
- get_text()¶
- Returns:
The message text, or
None
if it doesn’t contain any (e.g. contains data instead).- Return type:
Gets the message text, in UTF-8.
The returned value is only valid until the property changes so it is only safe to use this function on the thread where self was constructed. Use
ModemManager.Cbm.dup_text
() if on another thread.New in version 1.24.