Top |
#define | MATRIX_MESSAGE_TYPE_IMAGE |
MatrixMessageImage * | matrix_message_image_new () |
const gchar * | matrix_message_image_get_url () |
void | matrix_message_image_set_url () |
const gchar * | matrix_message_image_get_thumbnail_url () |
void | matrix_message_image_set_thumbnail_url () |
MatrixImageInfo * | matrix_message_image_get_info () |
void | matrix_message_image_set_info () |
MatrixImageInfo * | matrix_message_image_get_thumbnail_info () |
void | matrix_message_image_set_thumbnail_info () |
#define MATRIX_MESSAGE_TYPE_IMAGE (matrix_message_image_get_type ())
The type for MatrixMessageImage.
const gchar *
matrix_message_image_get_url (MatrixMessageImage *self
);
Get and return the current value of the "url" property.
The URL to the image.
void matrix_message_image_set_url (MatrixMessageImage *self
,const gchar *value
);
Set the value of the "url" property to value
.
The URL to the image.
const gchar *
matrix_message_image_get_thumbnail_url
(MatrixMessageImage *self
);
Get and return the current value of the "thumbnail-url" property.
The URL to the thumbnail of the image.
void matrix_message_image_set_thumbnail_url (MatrixMessageImage *self
,const gchar *value
);
Set the value of the "thumbnail-url" property to value
.
The URL to the thumbnail of the image.
self |
the MatrixMessageImage instance to modify |
|
value |
the new value of the "thumbnail-url" property |
MatrixImageInfo *
matrix_message_image_get_info (MatrixMessageImage *self
);
Get and return the current value of the "info" property.
Metadata about the image referred to in url
.
void matrix_message_image_set_info (MatrixMessageImage *self
,MatrixImageInfo *value
);
Set the value of the "info" property to value
.
Metadata about the image referred to in url
.
self |
the MatrixMessageImage instance to modify |
|
value |
the new value of the "info" property |
MatrixImageInfo *
matrix_message_image_get_thumbnail_info
(MatrixMessageImage *self
);
Get and return the current value of the "thumbnail-info" property.
Metadata about the image referred to in thumbnail_url
.
void matrix_message_image_set_thumbnail_info (MatrixMessageImage *self
,MatrixImageInfo *value
);
Set the value of the "thumbnail-info" property to value
.
Metadata about the image referred to in thumbnail_url
.
self |
the MatrixMessageImage instance to modify |
|
value |
the new value of the "thumbnail-info" property |
struct MatrixMessageImage { MatrixMessageBase parent_instance; MatrixMessageImagePrivate * priv; };
Class to hold a m.image message
This message represents a single image and an optional thumbnail.
struct MatrixMessageImageClass { MatrixMessageBaseClass parent_class; };
The class structure for MATRIX_MESSAGE_TYPE_IMAGE
. All the fields in this structure are private and should never be accessed directly.