MatrixProfile

MatrixProfile — Object to hold a user's profile

Functions

Types and Values

Description

This object is used for both global and room specific profiles.

Functions

MATRIX_TYPE_PROFILE

#define MATRIX_TYPE_PROFILE (matrix_profile_get_type ())

The type for MatrixProfile.


matrix_profile_new ()

MatrixProfile *
matrix_profile_new (void);

matrix_profile_get_age ()

GTimeSpan
matrix_profile_get_age (MatrixProfile *self);

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

Parameters

self

the MatrixProfile instance to query

 

Returns

the value of the "age" property


matrix_profile_get_display_name ()

const gchar *
matrix_profile_get_display_name (MatrixProfile *self);

Get and return the current value of the "display-name" property.

The human readable name of the user.

Parameters

self

the MatrixProfile instance to query

 

Returns

the value of the "display-name" property


matrix_profile_set_display_name ()

void
matrix_profile_set_display_name (MatrixProfile *self,
                                 const gchar *value);

Set the value of the "display-name" property to value .

The human readable name of the user.

Parameters

self

the MatrixProfile instance to modify

 

value

the new value of the "display-name" property

 

matrix_profile_get_avatar_url ()

const gchar *
matrix_profile_get_avatar_url (MatrixProfile *self);

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

The URL of the user's avatar.

Parameters

self

the MatrixProfile instance to query

 

Returns

the value of the "avatar-url" property


matrix_profile_set_avatar_url ()

void
matrix_profile_set_avatar_url (MatrixProfile *self,
                               const gchar *value);

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

The URL of the user's avatar.

Parameters

self

the MatrixProfile instance to modify

 

value

the new value of the "avatar-url" property

 

Types and Values

struct MatrixProfile

struct MatrixProfile {
	GObject parent_instance;
	MatrixProfilePrivate * priv;
};

Object to hold a user's profile

This object is used for both global and room specific profiles.


struct MatrixProfileClass

struct MatrixProfileClass {
	GObjectClass parent_class;
};

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

Members

GObjectClass parent_class;

the parent class structure