Class

CMRoomEvent

since: 0

Description [src]

class CM.RoomEvent : CM.Event
{
  /* No available fields */
}

An event that is associated with a matrix room like e.g. a topic change or member event. Basically Matrix message of type m.room.*.

This class somewhat confusingly represents different room event types and is also used as base class for more specific room events like CmRoomMessageEvent.

Available since: 0

Ancestors

Descendants

Instance methods

cm_room_event_get_room

Get the room this event belongs to.

since: 0

cm_room_event_get_room_member

Get the room member of this room event.

since: 0

Methods inherited from CmEvent (6)
cm_event_get_id
No description available.

since: 0

cm_event_get_m_type

Get the Matrix type of an event.

since: 0

cm_event_get_sender

Get the sender of the event.

since: 0

cm_event_get_state
No description available.

since: 0

cm_event_get_time_stamp

Get the event time stamp in milliseconds.

since: 0

cm_event_is_encrypted
No description available.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from CmEvent (1)
CmEvent::updated

Emitted when the state of the event changed. See CmEventState and cm_event_get_state().

since: 0

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

Class structure

struct CMRoomEventClass {
  CmEventClass parent_class;
  
}
No description available.
Class members
parent_class: CmEventClass
No description available.