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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
Signals¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.ModemCellBroadcast(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.ModemCellBroadcaststructure contains private data and should only be accessed using the provided API.- delete(cbm, cancellable, callback, *user_data)¶
- Parameters:
cbm (
str) – Path of theModemManager.Cbmto delete.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously deletes a given
ModemManager.Cbmfrom the modem.When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.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) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemCellBroadcast.delete().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.ModemCellBroadcast.delete().New in version 1.24.
- delete_sync(cbm, cancellable)¶
- Parameters:
cbm (
str) – Path of theModemManager.Cbmto delete.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously deletes a given
ModemManager.Cbmfrom 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 withGLib.free().- Return type:
Gets a copy of the DBus path of the
ModemManager.Objectobject which implements this interface.New in version 1.24.
- get_channels(channels, n_storages)¶
- Parameters:
channels (
ModemManager.CellBroadcastChannels) –n_storages (
int) –
- Return type:
- get_path()¶
- Returns:
The DBus path of the
ModemManager.Objectobject.- Return type:
Gets the DBus path of the
ModemManager.Objectwhich implements this interface.New in version 1.24.
- list(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously lists the
ModemManager.Cbmobjects in the modem.When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.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) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemCellBroadcast.list().- Raises:
- Returns:
A list of
ModemManager.Cbmobjects, orNoneif either not found or error is set. The returned value should be freed with g_list_free_full() usingGObject.Object.unref() asGLib.DestroyNotifyfunction.- Return type:
Finishes an operation started with
ModemManager.ModemCellBroadcast.list().New in version 1.24.
- list_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
A list of
ModemManager.Cbmobjects, orNoneif either not found or error is set. The returned value should be freed with g_list_free_full() usingGObject.Object.unref() asGLib.DestroyNotifyfunction.- Return type:
Synchronously lists the
ModemManager.Cbmobjects 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:
channels (
ModemManager.CellBroadcastChannels) –n_storages (
int) –
- Return type:
- set_channels(channels, n_channels, cancellable, callback, *user_data)¶
- Parameters:
channels (
ModemManager.CellBroadcastChannels) – The #MMCellbroadcastChannels to setn_channels (
int) – The number of elements inchannelscancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone
Asynchronously set the #MMCellbroadcastChannel s in the modem.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.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) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemCellBroadcast.set_channels()- Raises:
- Returns:
Trueif set default storage is success,Falseif error is set.- Return type:
Finishes an operation started with
ModemManager.ModemCellBroadcast.set_channels().New in version 1.24.
- set_channels_sync(channels, n_channels, cancellable)¶
- Parameters:
channels (
ModemManager.CellBroadcastChannels) – The #MMCellbroadcastChannels to setn_channels (
int) – The number of elements inchannelscancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
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.