MatrixMessageVideo

MatrixMessageVideo — This message represents a single video clip.

Functions

Types and Values

Description

Functions

MATRIX_MESSAGE_TYPE_VIDEO

#define MATRIX_MESSAGE_TYPE_VIDEO (matrix_message_video_get_type ())

The type for MatrixMessageVideo.


matrix_message_video_new ()

MatrixMessageVideo *
matrix_message_video_new (void);

matrix_message_video_get_url ()

const gchar *
matrix_message_video_get_url (MatrixMessageVideo *self);

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

The URL to the video clip.

Parameters

self

the MatrixMessageVideo instance to query

 

Returns

the value of the "url" property


matrix_message_video_set_url ()

void
matrix_message_video_set_url (MatrixMessageVideo *self,
                              const gchar *value);

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

The URL to the video clip.

Parameters

self

the MatrixMessageVideo instance to modify

 

value

the new value of the "url" property

 

matrix_message_video_get_info ()

MatrixVideoInfo *
matrix_message_video_get_info (MatrixMessageVideo *self);

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

Metadata about the video clip referred to in url.

Parameters

self

the MatrixMessageVideo instance to query

 

Returns

the value of the "info" property


matrix_message_video_set_info ()

void
matrix_message_video_set_info (MatrixMessageVideo *self,
                               MatrixVideoInfo *value);

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

Metadata about the video clip referred to in url.

Parameters

self

the MatrixMessageVideo instance to modify

 

value

the new value of the "info" property

 

Types and Values

struct MatrixMessageVideo

struct MatrixMessageVideo {
	MatrixMessageBase parent_instance;
	MatrixMessageVideoPrivate * priv;
};

This message represents a single video clip.


struct MatrixMessageVideoClass

struct MatrixMessageVideoClass {
	MatrixMessageBaseClass parent_class;
};

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

Members

MatrixMessageBaseClass parent_class;

the parent class structure