MatrixPresenceEvent

MatrixPresenceEvent — Class for representing presence events

Functions

Types and Values

Object Hierarchy


Description

The presence event class.

Functions

MATRIX_TYPE_PRESENCE_EVENT

#define MATRIX_TYPE_PRESENCE_EVENT (matrix_presence_event_get_type ())

The type for MatrixPresenceEvent.


matrix_presence_event_new ()

MatrixPresenceEvent *
matrix_presence_event_new (void);

matrix_presence_event_get_avatar_url ()

const gchar *
matrix_presence_event_get_avatar_url (MatrixPresenceEvent *self);

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

Parameters

self

the MatrixPresenceEvent instance to query

 

Returns

the value of the "avatar-url" property


matrix_presence_event_set_avatar_url ()

void
matrix_presence_event_set_avatar_url (MatrixPresenceEvent *self,
                                      const gchar *value);

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

Parameters

self

the MatrixPresenceEvent instance to modify

 

value

the new value of the "avatar-url" property

 

matrix_presence_event_get_display_name ()

const gchar *
matrix_presence_event_get_display_name
                               (MatrixPresenceEvent *self);

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

Parameters

self

the MatrixPresenceEvent instance to query

 

Returns

the value of the "display-name" property


matrix_presence_event_set_display_name ()

void
matrix_presence_event_set_display_name
                               (MatrixPresenceEvent *self,
                                const gchar *value);

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

Parameters

self

the MatrixPresenceEvent instance to modify

 

value

the new value of the "display-name" property

 

matrix_presence_event_get_last_active_ago ()

gulong *
matrix_presence_event_get_last_active_ago
                               (MatrixPresenceEvent *self);

Get and return the current value of the "last-active-ago" property.

Parameters

self

the MatrixPresenceEvent instance to query

 

Returns

the value of the "last-active-ago" property


matrix_presence_event_set_last_active_ago ()

void
matrix_presence_event_set_last_active_ago
                               (MatrixPresenceEvent *self,
                                gulong *value);

Set the value of the "last-active-ago" property to value .

Parameters

self

the MatrixPresenceEvent instance to modify

 

value

the new value of the "last-active-ago" property

 

matrix_presence_event_get_presence ()

MatrixPresence
matrix_presence_event_get_presence (MatrixPresenceEvent *self);

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

Parameters

self

the MatrixPresenceEvent instance to query

 

Returns

the value of the "presence" property


matrix_presence_event_set_presence ()

void
matrix_presence_event_set_presence (MatrixPresenceEvent *self,
                                    MatrixPresence value);

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

Parameters

self

the MatrixPresenceEvent instance to modify

 

value

the new value of the "presence" property

 

Types and Values

struct MatrixPresenceEvent

struct MatrixPresenceEvent {
	MatrixEvent parent_instance;
	MatrixPresenceEventPrivate * priv;
};

Class for representing presence events

The presence event class.


struct MatrixPresenceEventClass

struct MatrixPresenceEventClass {
	MatrixEventClass parent_class;
};

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

Members

MatrixEventClass parent_class;

the parent class structure