Class
CMRoom
since: 0
Description [src]
final class CM.Room : GObject.Object
{
/* No available fields */
}
A Matrix room. This class provides access to properties of the room
including a list of events maintained as a GListModel
.
Available since: 0
Instance methods
cm_room_enable_encryption_async
Enable encryption for self
. You can’t disable
encryption once enabled. Also, it’s a noop
if self
has already enabled encryption. The
callback
shall run in any case.
since: 0
cm_room_get_avatar_finish
Finishes an asynchronous operation started with cm_room_get_avatar_async()
.
since: 0
cm_room_get_event_finish
Finishes an asynchronous operation started with cm_room_get_event_async()
.
since: 0
cm_room_get_name
Get the matrix room name. Can be NULL
if the room name is not set, or the name
is not yet loaded.
since: 0
cm_room_get_past_name
Get the matrix room name set before the current one.
The past name is set only if the room is a direct
room and current room name is empty (in the case
where cm_room_get_name()
shall return “Empty room”)
since: 0
cm_room_load_past_events_async
Get the next batch of past events from the database. If the room wasn’t ever synced from the server, do that first. A batch is currently 30 events.
since: 0
cm_room_load_past_events_finish
Finishes an asynchronous operation started with cm_room_load_past_events_async()
.
since: 0
cm_room_send_text_async
Send text
as a text message to the room
self
. If the room is encrypted, the text
shall be encrypted and sent.
since: 0
cm_room_set_typing_notice_async
Set/Unset if the self user is typing or not. The typing set is timeout after 4 seconds.
since: 0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
unstable since: 2.0