MatrixRoomMemberEvent

MatrixRoomMemberEvent — Class for representing a room membership events

Functions

Types and Values

Object Hierarchy


Description

The room membership event class.

Functions

MATRIX_TYPE_ROOM_MEMBER_EVENT

#define MATRIX_TYPE_ROOM_MEMBER_EVENT (matrix_room_member_event_get_type ())

The type for MatrixRoomMemberEvent.


matrix_room_member_event_new ()

MatrixRoomMemberEvent *
matrix_room_member_event_new (void);

matrix_room_member_event_get_state_key ()

const gchar *
matrix_room_member_event_get_state_key
                               (MatrixRoomMemberEvent *self);

Get and return the current value of the "state-key" property.

Parameters

self

the MatrixRoomMemberEvent instance to query

 

Returns

the value of the "state-key" property


matrix_room_member_event_set_state_key ()

void
matrix_room_member_event_set_state_key
                               (MatrixRoomMemberEvent *self,
                                const gchar *value);

Set the value of the "state-key" property to value .

Parameters

self

the MatrixRoomMemberEvent instance to modify

 

value

the new value of the "state-key" property

 

matrix_room_member_event_get_membership ()

MatrixRoomMembership
matrix_room_member_event_get_membership
                               (MatrixRoomMemberEvent *self);

Get and return the current value of the "membership" property.

Parameters

self

the MatrixRoomMemberEvent instance to query

 

Returns

the value of the "membership" property


matrix_room_member_event_set_membership ()

void
matrix_room_member_event_set_membership
                               (MatrixRoomMemberEvent *self,
                                MatrixRoomMembership value);

Set the value of the "membership" property to value .

Parameters

self

the MatrixRoomMemberEvent instance to modify

 

value

the new value of the "membership" property

 

matrix_room_member_event_get_avatar_url ()

const gchar *
matrix_room_member_event_get_avatar_url
                               (MatrixRoomMemberEvent *self);

Get and return the current value of the "avatar-url" property.

Parameters

self

the MatrixRoomMemberEvent instance to query

 

Returns

the value of the "avatar-url" property


matrix_room_member_event_set_avatar_url ()

void
matrix_room_member_event_set_avatar_url
                               (MatrixRoomMemberEvent *self,
                                const gchar *value);

Set the value of the "avatar-url" property to value .

Parameters

self

the MatrixRoomMemberEvent instance to modify

 

value

the new value of the "avatar-url" property

 

matrix_room_member_event_get_display_name ()

const gchar *
matrix_room_member_event_get_display_name
                               (MatrixRoomMemberEvent *self);

Get and return the current value of the "display-name" property.

Parameters

self

the MatrixRoomMemberEvent instance to query

 

Returns

the value of the "display-name" property


matrix_room_member_event_set_display_name ()

void
matrix_room_member_event_set_display_name
                               (MatrixRoomMemberEvent *self,
                                const gchar *value);

Set the value of the "display-name" property to value .

Parameters

self

the MatrixRoomMemberEvent instance to modify

 

value

the new value of the "display-name" property

 

Types and Values

struct MatrixRoomMemberEvent

struct MatrixRoomMemberEvent {
	MatrixRoomEvent parent_instance;
	MatrixRoomMemberEventPrivate * priv;
};

Class for representing a room membership events

The room membership event class.


struct MatrixRoomMemberEventClass

struct MatrixRoomMemberEventClass {
	MatrixRoomEventClass parent_class;
};

The class structure for MATRIX_TYPE_ROOM_MEMBER_EVENT. All the fields in this structure are private and should never be accessed directly.

Members

MatrixRoomEventClass parent_class;

the parent class structure