Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | mm_modem_cell_broadcast_get_path () |
gchar * | mm_modem_cell_broadcast_dup_path () |
void | mm_modem_cell_broadcast_delete () |
gboolean | mm_modem_cell_broadcast_delete_finish () |
gboolean | mm_modem_cell_broadcast_delete_sync () |
void | mm_modem_cell_broadcast_list () |
GList * | mm_modem_cell_broadcast_list_finish () |
GList * | mm_modem_cell_broadcast_list_sync () |
MMModemCellBroadcast implements GDBusInterface, GInitable, GAsyncInitable and MmGdbusModemCellBroadcast.
The MMModemCellBroadcast is an object providing access to the methods, signals and properties of the CellBroadcast interface.
The CellBroadcast interface is exposed whenever a modem has cell broadcast capabilities.
const gchar *
mm_modem_cell_broadcast_get_path (MMModemCellBroadcast *self
);
Gets the DBus path of the MMObject which implements this interface.
Since: 1.24
gchar *
mm_modem_cell_broadcast_dup_path (MMModemCellBroadcast *self
);
Gets a copy of the DBus path of the MMObject object which implements this interface.
The DBus path of the MMObject. The returned value
should be freed with g_free()
.
[transfer full]
Since: 1.24
void mm_modem_cell_broadcast_delete (MMModemCellBroadcast *self
,const gchar *cbm
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously deletes a given MMCbm from the modem.
When the operation is finished, callback
will be invoked in the
of the thread you are calling this method from. You can then call
mm_modem_cell_broadcast_delete_finish()
to get the result of the operation.
See mm_modem_cell_broadcast_delete_sync()
for the synchronous, blocking version
of this method.
self |
||
cbm |
Path of the MMCbm to delete. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or
|
|
user_data |
User data to pass to |
Since: 1.24
gboolean mm_modem_cell_broadcast_delete_finish (MMModemCellBroadcast *self
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_modem_cell_broadcast_delete()
.
self |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
Since: 1.24
gboolean mm_modem_cell_broadcast_delete_sync (MMModemCellBroadcast *self
,const gchar *cbm
,GCancellable *cancellable
,GError **error
);
Synchronously deletes a given MMCbm from the modem.
The calling thread is blocked until a reply is received. See
mm_modem_cell_broadcast_delete()
for the asynchronous version of this method.
self |
||
cbm |
Path of the MMCbm to delete. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since: 1.24
void mm_modem_cell_broadcast_list (MMModemCellBroadcast *self
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously lists the MMCbm objects in the modem.
When the operation is finished, callback
will be invoked in the
of the thread you are calling this method from. You can then call
mm_modem_cell_broadcast_list_finish()
to get the result of the operation.
See mm_modem_cell_broadcast_list_sync()
for the synchronous, blocking version of
this method.
self |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or
|
|
user_data |
User data to pass to |
Since: 1.24
GList * mm_modem_cell_broadcast_list_finish (MMModemCellBroadcast *self
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_modem_cell_broadcast_list()
.
self |
A MMModem. |
|
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to
|
|
error |
Return location for error or |
A list of MMCbm
objects, or NULL if either not found or error
is set. The returned value
should be freed with g_list_free_full()
using g_object_unref()
as
GDestroyNotify function.
[element-type ModemManager.Cbm][transfer full]
Since: 1.24
GList * mm_modem_cell_broadcast_list_sync (MMModemCellBroadcast *self
,GCancellable *cancellable
,GError **error
);
Synchronously lists the MMCbm objects in the modem.
The calling thread is blocked until a reply is received. See
mm_modem_cell_broadcast_list()
for the asynchronous version of this method.
self |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
A list of MMCbm
objects, or NULL if either not found or error
is set. The returned value
should be freed with g_list_free_full()
using g_object_unref()
as
GDestroyNotify function.
[element-type ModemManager.Cbm][transfer full]
Since: 1.24
struct MMModemCellBroadcast;
The MMModemCellBroadcast structure contains private data and should only be accessed using the provided API.