MatrixEventRoomAvatar

MatrixEventRoomAvatar — Class to hold a m.room.avatar event

Functions

Types and Values

Description

A picture that is associated with the room. This can be displayed alongside the room information.

Functions

MATRIX_EVENT_TYPE_ROOM_AVATAR

#define MATRIX_EVENT_TYPE_ROOM_AVATAR (matrix_event_room_avatar_get_type ())

The type for MatrixEventRoomAvatar.


matrix_event_room_avatar_new ()

MatrixEventRoomAvatar *
matrix_event_room_avatar_new (void);

matrix_event_room_avatar_get_url ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to query

 

Returns

the value of the "url" property


matrix_event_room_avatar_set_url ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to modify

 

value

the new value of the "url" property

 

matrix_event_room_avatar_get_thumbnail_url ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to query

 

Returns

the value of the "thumbnail-url" property


matrix_event_room_avatar_set_thumbnail_url ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to modify

 

value

the new value of the "thumbnail-url" property

 

matrix_event_room_avatar_get_info ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to query

 

Returns

the value of the "info" property


matrix_event_room_avatar_set_info ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to modify

 

value

the new value of the "info" property

 

matrix_event_room_avatar_get_thumbnail_info ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to query

 

Returns

the value of the "thumbnail-info" property


matrix_event_room_avatar_set_thumbnail_info ()

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.

Parameters

self

the MatrixEventRoomAvatar instance to modify

 

value

the new value of the "thumbnail-info" property

 

Types and Values

struct MatrixEventRoomAvatar

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

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.

Members

MatrixEventStateClass parent_class;

the parent class structure