MatrixStateEvent

MatrixStateEvent

Functions

Types and Values

Object Hierarchy


Description

Functions

MATRIX_TYPE_STATE_EVENT

#define MATRIX_TYPE_STATE_EVENT (matrix_state_event_get_type ())

The type for MatrixStateEvent.


matrix_state_event_new ()

MatrixStateEvent *
matrix_state_event_new (void);

matrix_state_event_get_state_key ()

const gchar *
matrix_state_event_get_state_key (MatrixStateEvent *self);

Get and return the current value of the "state-key" property.

Parameters

self

the MatrixStateEvent instance to query

 

Returns

the value of the "state-key" property


matrix_state_event_set_state_key ()

void
matrix_state_event_set_state_key (MatrixStateEvent *self,
                                  const gchar *value);

Set the value of the "state-key" property to value .

Parameters

self

the MatrixStateEvent instance to modify

 

value

the new value of the "state-key" property

 

matrix_state_event_get_content ()

JsonNode *
matrix_state_event_get_content (MatrixStateEvent *self);

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

Parameters

self

the MatrixStateEvent instance to query

 

Returns

the value of the "content" property


matrix_state_event_set_content ()

void
matrix_state_event_set_content (MatrixStateEvent *self,
                                JsonNode *value);

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

Parameters

self

the MatrixStateEvent instance to modify

 

value

the new value of the "content" property

 

Types and Values

struct MatrixStateEvent

struct MatrixStateEvent {
	MatrixEvent parent_instance;
	MatrixStateEventPrivate * priv;
};

struct MatrixStateEventClass

struct MatrixStateEventClass {
	MatrixEventClass parent_class;
};

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

Members

MatrixEventClass parent_class;

the parent class structure