ModemManager.Cbm

g GObject.GInterface GObject.GInterface Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.DBusInterface Gio.DBusInterface GObject.GInterface->Gio.DBusInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable ModemManager.GdbusCbm ModemManager.GdbusCbm GObject.GInterface->ModemManager.GdbusCbm GObject.Object GObject.Object Gio.DBusProxy Gio.DBusProxy GObject.Object->Gio.DBusProxy Gio.AsyncInitable->Gio.DBusProxy Gio.DBusInterface->Gio.DBusProxy ModemManager.GdbusCbmProxy ModemManager.GdbusCbmProxy Gio.DBusProxy->ModemManager.GdbusCbmProxy Gio.Initable->Gio.DBusProxy ModemManager.Cbm ModemManager.Cbm ModemManager.GdbusCbm->ModemManager.GdbusCbmProxy ModemManager.GdbusCbmProxy->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:

GObject.ObjectClass (5)

dup_path ()

dup_text ()

get_channel ()

get_message_code ()

get_path ()

get_state ()

get_text ()

get_update ()

Virtual Methods

Inherited:

Gio.DBusProxy (2), GObject.Object (7), Gio.AsyncInitable (2), Gio.DBusInterface (3), Gio.Initable (1)

Properties

Inherited:

Gio.DBusProxy (9), ModemManager.GdbusCbm (5)

Signals

Inherited:

Gio.DBusProxy (2), GObject.Object (1)

Fields

Inherited:

Gio.DBusProxy (2), GObject.Object (1)

Name

Type

Access

Description

parent

ModemManager.GdbusCbmProxy

r

unused

object

r

Class Details

class ModemManager.Cbm(**kwargs)
Bases:

ModemManager.GdbusCbmProxy

Abstract:

No

Structure:

ModemManager.CbmClass

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 with GLib.free().

Return type:

str

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 with GLib.free().

Return type:

str

Gets the message text, in UTF-8.

New in version 1.24.

get_channel()
Returns:

The channel

Return type:

int

Gets the channel of this CBM.

New in version 1.24.

get_message_code()
Returns:

The message code

Return type:

int

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:

str

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:

ModemManager.CbmState

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:

str

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.

get_update()
Returns:

The update number

Return type:

int

Gets the update number of this CBM.

New in version 1.24.