| Top |
A picture that is associated with the room. This can be displayed alongside the room information.
#define MATRIX_EVENT_TYPE_ROOM_AVATAR (matrix_event_room_avatar_get_type ())
The type for MatrixEventRoomAvatar.
const gchar *
matrix_event_room_avatar_get_url (MatrixEventRoomAvatar *self);
Get and return the current value of the "url" property.
The URL to the image.
void matrix_event_room_avatar_set_url (MatrixEventRoomAvatar *self,const gchar *value);
Set the value of the "url" property to value
.
The URL to the image.
self |
the MatrixEventRoomAvatar instance to modify |
|
value |
the new value of the "url" property |
const gchar *
matrix_event_room_avatar_get_thumbnail_url
(MatrixEventRoomAvatar *self);
Get and return the current value of the "thumbnail-url" property.
The URL to the thumbnail of the image.
void matrix_event_room_avatar_set_thumbnail_url (MatrixEventRoomAvatar *self,const gchar *value);
Set the value of the "thumbnail-url" property to value
.
The URL to the thumbnail of the image.
self |
the MatrixEventRoomAvatar instance to modify |
|
value |
the new value of the "thumbnail-url" property |
MatrixImageInfo *
matrix_event_room_avatar_get_info (MatrixEventRoomAvatar *self);
Get and return the current value of the "info" property.
Metadata about the image referred to in url.
void matrix_event_room_avatar_set_info (MatrixEventRoomAvatar *self,MatrixImageInfo *value);
Set the value of the "info" property to value
.
Metadata about the image referred to in url.
self |
the MatrixEventRoomAvatar instance to modify |
|
value |
the new value of the "info" property |
MatrixImageInfo *
matrix_event_room_avatar_get_thumbnail_info
(MatrixEventRoomAvatar *self);
Get and return the current value of the "thumbnail-info" property.
Metadata about the image referred to in thumbnail_url.
void matrix_event_room_avatar_set_thumbnail_info (MatrixEventRoomAvatar *self,MatrixImageInfo *value);
Set the value of the "thumbnail-info" property to value
.
Metadata about the image referred to in thumbnail_url.
self |
the MatrixEventRoomAvatar instance to modify |
|
value |
the new value of the "thumbnail-info" property |
struct MatrixEventRoomAvatar {
MatrixEventState parent_instance;
MatrixEventRoomAvatarPrivate * priv;
};
Class to hold a m.room.avatar event
A picture that is associated with the room. This can be displayed alongside the room information.
struct MatrixEventRoomAvatarClass {
MatrixEventStateClass parent_class;
};
The class structure for MATRIX_EVENT_TYPE_ROOM_AVATAR. All the fields in this structure are private and should never be accessed directly.