ModemManager.ModemCellBroadcast

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.GdbusModemCellBroadcast ModemManager.GdbusModemCellBroadcast GObject.GInterface->ModemManager.GdbusModemCellBroadcast GObject.Object GObject.Object Gio.DBusProxy Gio.DBusProxy GObject.Object->Gio.DBusProxy Gio.AsyncInitable->Gio.DBusProxy Gio.DBusInterface->Gio.DBusProxy ModemManager.GdbusModemCellBroadcastProxy ModemManager.GdbusModemCellBroadcastProxy Gio.DBusProxy->ModemManager.GdbusModemCellBroadcastProxy Gio.Initable->Gio.DBusProxy ModemManager.GdbusModemCellBroadcast->ModemManager.GdbusModemCellBroadcastProxy ModemManager.ModemCellBroadcast ModemManager.ModemCellBroadcast ModemManager.GdbusModemCellBroadcastProxy->ModemManager.ModemCellBroadcast

Subclasses:

None

Methods

Inherited:

ModemManager.GdbusModemCellBroadcastProxy (6), Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), ModemManager.GdbusModemCellBroadcast (16)

Structs:

GObject.ObjectClass (5)

delete (cbm, cancellable, callback, *user_data)

delete_finish (res)

delete_sync (cbm, cancellable)

dup_path ()

get_channels (channels, n_storages)

get_path ()

list (cancellable, callback, *user_data)

list_finish (res)

list_sync (cancellable)

peek_channels (channels, n_storages)

set_channels (channels, n_channels, cancellable, callback, *user_data)

set_channels_finish (res)

set_channels_sync (channels, n_channels, cancellable)

Virtual Methods

Inherited:

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

Properties

Inherited:

Gio.DBusProxy (9), ModemManager.GdbusModemCellBroadcast (2)

Signals

Inherited:

Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModemCellBroadcast (5)

Fields

Inherited:

Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModemCellBroadcast (5)

Name

Type

Access

Description

parent

ModemManager.GdbusModemCellBroadcastProxy

r

Class Details

class ModemManager.ModemCellBroadcast(**kwargs)
Bases:

ModemManager.GdbusModemCellBroadcastProxy

Abstract:

No

Structure:

ModemManager.ModemCellBroadcastClass

The ModemManager.ModemCellBroadcast structure contains private data and should only be accessed using the provided API.

delete(cbm, cancellable, callback, *user_data)
Parameters:

Asynchronously deletes a given ModemManager.Cbm from the modem.

When the operation is finished, callback will be invoked in the

thread-default main loop of the thread you are calling this method from. You can then call ModemManager.ModemCellBroadcast.delete_finish() to get the result of the operation.

See ModemManager.ModemCellBroadcast.delete_sync() for the synchronous, blocking version of this method.

New in version 1.24.

delete_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.ModemCellBroadcast.delete().

Raises:

GLib.Error

Returns:

True if the cbm was deleted, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.ModemCellBroadcast.delete().

New in version 1.24.

delete_sync(cbm, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the CBM was deleted, False if error is set.

Return type:

bool

Synchronously deletes a given ModemManager.Cbm from the modem.

The calling thread is blocked until a reply is received. See ModemManager.ModemCellBroadcast.delete() for the asynchronous version of this method.

New in version 1.24.

dup_path()
Returns:

The DBus path of the ModemManager.Object. The returned value should be freed with GLib.free().

Return type:

str

Gets a copy of the DBus path of the ModemManager.Object object which implements this interface.

New in version 1.24.

get_channels(channels, n_storages)
Parameters:
Return type:

bool

get_path()
Returns:

The DBus path of the ModemManager.Object object.

Return type:

str

Gets the DBus path of the ModemManager.Object which implements this interface.

New in version 1.24.

list(cancellable, callback, *user_data)
Parameters:

Asynchronously lists the ModemManager.Cbm objects in the modem.

When the operation is finished, callback will be invoked in the

thread-default main loop of the thread you are calling this method from. You can then call ModemManager.ModemCellBroadcast.list_finish() to get the result of the operation.

See ModemManager.ModemCellBroadcast.list_sync() for the synchronous, blocking version of this method.

New in version 1.24.

list_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.ModemCellBroadcast.list().

Raises:

GLib.Error

Returns:

A list of ModemManager.Cbm objects, or None if either not found or error is set. The returned value should be freed with g_list_free_full() using GObject.Object.unref() as GLib.DestroyNotify function.

Return type:

[ModemManager.Cbm]

Finishes an operation started with ModemManager.ModemCellBroadcast.list().

New in version 1.24.

list_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

A list of ModemManager.Cbm objects, or None if either not found or error is set. The returned value should be freed with g_list_free_full() using GObject.Object.unref() as GLib.DestroyNotify function.

Return type:

[ModemManager.Cbm]

Synchronously lists the ModemManager.Cbm objects in the modem.

The calling thread is blocked until a reply is received. See ModemManager.ModemCellBroadcast.list() for the asynchronous version of this method.

New in version 1.24.

peek_channels(channels, n_storages)
Parameters:
Return type:

bool

set_channels(channels, n_channels, cancellable, callback, *user_data)
Parameters:

Asynchronously set the #MMCellbroadcastChannel s in the modem.

When the operation is finished, callback will be invoked in the

thread-default main loop of the thread you are calling this method from. You can then call ModemManager.ModemCellBroadcast.set_channels_finish() to get the result of the operation.

See ModemManager.ModemCellBroadcast.set_channels_sync() for the synchronous, blocking version of this method.

New in version 1.24.

set_channels_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.ModemCellBroadcast.set_channels()

Raises:

GLib.Error

Returns:

True if set default storage is success, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.ModemCellBroadcast.set_channels().

New in version 1.24.

set_channels_sync(channels, n_channels, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the operation was successful, False if error is set.

Return type:

bool

Asynchronously set the #MMCellbroadcastChannel s in the modem.

The calling thread is blocked until a reply is received. See ModemManager.ModemCellBroadcast.set_channels() for the asynchronous version of this method.

New in version 1.24.