Top | ![]() |
![]() |
![]() |
![]() |
guint | mm_cbm_get_channel () |
const gchar * | mm_cbm_get_path () |
gchar * | mm_cbm_dup_path () |
MMCbmState | mm_cbm_get_state () |
const gchar * | mm_cbm_get_text () |
gchar * | mm_cbm_dup_text () |
guint | mm_cbm_get_message_code () |
guint | mm_cbm_get_update () |
The MMCbm is an object providing access to the methods, signals and properties of the CBM interface.
When the CBM is exposed and available in the bus, it is ensured that at least this interface is also available.
guint
mm_cbm_get_channel (MMCbm *self
);
Gets the channel of this CBM.
Since: 1.24
const gchar *
mm_cbm_get_path (MMCbm *self
);
Gets the DBus path of the MMCbm object.
Since: 1.24
gchar *
mm_cbm_dup_path (MMCbm *self
);
Gets a copy of the DBus path of the MMCbm object.
The DBus path of the MMCbm object. The returned
value should be freed with g_free()
.
[transfer full]
Since: 1.24
MMCbmState
mm_cbm_get_state (MMCbm *self
);
Gets the state of this CBM.
Since: 1.24
const gchar *
mm_cbm_get_text (MMCbm *self
);
Gets the message text, in UTF-8.
self
was constructed. Use
mm_cbm_dup_text()
if on another thread.The message text, or NULL
if it doesn't contain
any (e.g. contains data instead).
[transfer none]
Since: 1.24
gchar *
mm_cbm_dup_text (MMCbm *self
);
Gets the message text, in UTF-8.
The message text, or NULL
if it doesn't contain
any (e.g. contains data instead). The returned value should be freed with
g_free()
.
[transfer full]
Since: 1.24
guint
mm_cbm_get_message_code (MMCbm *self
);
Gets the message code of this CBM.
Since: 1.24
struct MMCbm;
The MMCbm structure contains private data and should only be accessed using the provided API.