Top |
#define | MATRIX_EVENT_TYPE_PRESENCE |
MatrixEventPresence * | matrix_event_presence_new () |
const gchar * | matrix_event_presence_get_avatar_url () |
void | matrix_event_presence_set_avatar_url () |
const gchar * | matrix_event_presence_get_display_name () |
void | matrix_event_presence_set_display_name () |
glong | matrix_event_presence_get_last_active_ago () |
void | matrix_event_presence_set_last_active_ago () |
const gchar * | matrix_event_presence_get_user_id () |
void | matrix_event_presence_set_user_id () |
const gchar * | matrix_event_presence_get_event_id () |
void | matrix_event_presence_set_event_id () |
MatrixPresence | matrix_event_presence_get_presence () |
void | matrix_event_presence_set_presence () |
#define MATRIX_EVENT_TYPE_PRESENCE (matrix_event_presence_get_type ())
The type for MatrixEventPresence.
const gchar *
matrix_event_presence_get_avatar_url (MatrixEventPresence *self
);
Get and return the current value of the "avatar-url" property.
The current avatar URL for this user, if any.
void matrix_event_presence_set_avatar_url (MatrixEventPresence *self
,const gchar *value
);
Set the value of the "avatar-url" property to value
.
The current avatar URL for this user, if any.
self |
the MatrixEventPresence instance to modify |
|
value |
the new value of the "avatar-url" property |
const gchar *
matrix_event_presence_get_display_name
(MatrixEventPresence *self
);
Get and return the current value of the "display-name" property.
The current display name for this user, if any.
void matrix_event_presence_set_display_name (MatrixEventPresence *self
,const gchar *value
);
Set the value of the "display-name" property to value
.
The current display name for this user, if any.
self |
the MatrixEventPresence instance to modify |
|
value |
the new value of the "display-name" property |
glong
matrix_event_presence_get_last_active_ago
(MatrixEventPresence *self
);
Get and return the current value of the "last-active-ago" property.
The last time since this used performed some action, in milliseconds.
This won’t get into the generated event JSON if negative.
void matrix_event_presence_set_last_active_ago (MatrixEventPresence *self
,glong value
);
Set the value of the "last-active-ago" property to value
.
The last time since this used performed some action, in milliseconds.
This won’t get into the generated event JSON if negative.
self |
the MatrixEventPresence instance to modify |
|
value |
the new value of the "last-active-ago" property |
const gchar *
matrix_event_presence_get_user_id (MatrixEventPresence *self
);
Get and return the current value of the "user-id" property.
The user's ID.
void matrix_event_presence_set_user_id (MatrixEventPresence *self
,const gchar *value
);
Set the value of the "user-id" property to value
.
The user's ID.
self |
the MatrixEventPresence instance to modify |
|
value |
the new value of the "user-id" property |
const gchar *
matrix_event_presence_get_event_id (MatrixEventPresence *self
);
Get and return the current value of the "event-id" property.
void matrix_event_presence_set_event_id (MatrixEventPresence *self
,const gchar *value
);
Set the value of the "event-id" property to value
.
self |
the MatrixEventPresence instance to modify |
|
value |
the new value of the "event-id" property |
MatrixPresence
matrix_event_presence_get_presence (MatrixEventPresence *self
);
Get and return the current value of the "presence" property.
The presence state for this user.
void matrix_event_presence_set_presence (MatrixEventPresence *self
,MatrixPresence value
);
Set the value of the "presence" property to value
.
The presence state for this user.
self |
the MatrixEventPresence instance to modify |
|
value |
the new value of the "presence" property |
struct MatrixEventPresence { MatrixEventBase parent_instance; MatrixEventPresencePrivate * priv; };
Class for representing presence events
Informs the client of a user's presence state change.
struct MatrixEventPresenceClass { MatrixEventBaseClass parent_class; };
The class structure for MATRIX_EVENT_TYPE_PRESENCE
. All the fields in this structure are private and should never be accessed directly.