MatrixMessageAudio

MatrixMessageAudio — Class to hold a m.audio message

Functions

Types and Values

Description

This message represents a single audio clip.

Functions

MATRIX_MESSAGE_TYPE_AUDIO

#define MATRIX_MESSAGE_TYPE_AUDIO (matrix_message_audio_get_type ())

The type for MatrixMessageAudio.


matrix_message_audio_new ()

MatrixMessageAudio *
matrix_message_audio_new (void);

matrix_message_audio_get_url ()

const gchar *
matrix_message_audio_get_url (MatrixMessageAudio *self);

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

The URL to the audio clip.

Parameters

self

the MatrixMessageAudio instance to query

 

Returns

the value of the "url" property


matrix_message_audio_set_url ()

void
matrix_message_audio_set_url (MatrixMessageAudio *self,
                              const gchar *value);

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

The URL to the audio clip.

Parameters

self

the MatrixMessageAudio instance to modify

 

value

the new value of the "url" property

 

matrix_message_audio_get_info ()

MatrixAudioInfo *
matrix_message_audio_get_info (MatrixMessageAudio *self);

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

Metadata for the audio clip referred to in url.

Parameters

self

the MatrixMessageAudio instance to query

 

Returns

the value of the "info" property


matrix_message_audio_set_info ()

void
matrix_message_audio_set_info (MatrixMessageAudio *self,
                               MatrixAudioInfo *value);

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

Metadata for the audio clip referred to in url.

Parameters

self

the MatrixMessageAudio instance to modify

 

value

the new value of the "info" property

 

Types and Values

struct MatrixMessageAudio

struct MatrixMessageAudio {
	MatrixMessageBase parent_instance;
	MatrixMessageAudioPrivate * priv;
};

Class to hold a m.audio message

This message represents a single audio clip.


struct MatrixMessageAudioClass

struct MatrixMessageAudioClass {
	MatrixMessageBaseClass parent_class;
};

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

Members

MatrixMessageBaseClass parent_class;

the parent class structure