MatrixMessageLocation

MatrixMessageLocation — This message represents a real-world location.

Functions

Types and Values

Description

Functions

MATRIX_MESSAGE_TYPE_LOCATION

#define MATRIX_MESSAGE_TYPE_LOCATION (matrix_message_location_get_type ())

The type for MatrixMessageLocation.


matrix_message_location_new ()

MatrixMessageLocation *
matrix_message_location_new (void);

matrix_message_location_get_geo_uri ()

const gchar *
matrix_message_location_get_geo_uri (MatrixMessageLocation *self);

Get and return the current value of the "geo-uri" property.

A geo URI representing this location.

Parameters

self

the MatrixMessageLocation instance to query

 

Returns

the value of the "geo-uri" property


matrix_message_location_set_geo_uri ()

void
matrix_message_location_set_geo_uri (MatrixMessageLocation *self,
                                     const gchar *value);

Set the value of the "geo-uri" property to value .

A geo URI representing this location.

Parameters

self

the MatrixMessageLocation instance to modify

 

value

the new value of the "geo-uri" property

 

matrix_message_location_get_thumbnail_url ()

const gchar *
matrix_message_location_get_thumbnail_url
                               (MatrixMessageLocation *self);

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

The URL to a thumbnail of the location being represented.

Parameters

self

the MatrixMessageLocation instance to query

 

Returns

the value of the "thumbnail-url" property


matrix_message_location_set_thumbnail_url ()

void
matrix_message_location_set_thumbnail_url
                               (MatrixMessageLocation *self,
                                const gchar *value);

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

The URL to a thumbnail of the location being represented.

Parameters

self

the MatrixMessageLocation instance to modify

 

value

the new value of the "thumbnail-url" property

 

matrix_message_location_get_thumbnail_info ()

MatrixImageInfo *
matrix_message_location_get_thumbnail_info
                               (MatrixMessageLocation *self);

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

Metadata about the location referred to in thumbnail_url.

Parameters

self

the MatrixMessageLocation instance to query

 

Returns

the value of the "thumbnail-info" property


matrix_message_location_set_thumbnail_info ()

void
matrix_message_location_set_thumbnail_info
                               (MatrixMessageLocation *self,
                                MatrixImageInfo *value);

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

Metadata about the location referred to in thumbnail_url.

Parameters

self

the MatrixMessageLocation instance to modify

 

value

the new value of the "thumbnail-info" property

 

Types and Values

struct MatrixMessageLocation

struct MatrixMessageLocation {
	MatrixMessageBase parent_instance;
	MatrixMessageLocationPrivate * priv;
};

This message represents a real-world location.


struct MatrixMessageLocationClass

struct MatrixMessageLocationClass {
	MatrixMessageBaseClass parent_class;
};

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

Members

MatrixMessageBaseClass parent_class;

the parent class structure