MatrixEventState

MatrixEventState

Functions

Types and Values

Description

Functions

MATRIX_EVENT_TYPE_STATE

#define MATRIX_EVENT_TYPE_STATE (matrix_event_state_get_type ())

The type for MatrixEventState.


matrix_event_state_get_stripped_node ()

JsonNode *
matrix_event_state_get_stripped_node (MatrixEventState *self);

Get a stripped state event.

Parameters

self

the MatrixEventState instance

 

Returns

`null` if the event is not allowed to be stripped, or the full JSON node otherwise


matrix_event_state_get_state_key ()

const gchar *
matrix_event_state_get_state_key (MatrixEventState *self);

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

Parameters

self

the MatrixEventState instance to query

 

Returns

the value of the "state-key" property


matrix_event_state_set_state_key ()

void
matrix_event_state_set_state_key (MatrixEventState *self,
                                  const gchar *value);

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

Parameters

self

the MatrixEventState instance to modify

 

value

the new value of the "state-key" property

 

matrix_event_state_get_prev_content ()

JsonNode *
matrix_event_state_get_prev_content (MatrixEventState *self);

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

Parameters

self

the MatrixEventState instance to query

 

Returns

the value of the "prev-content" property


matrix_event_state_set_prev_content ()

void
matrix_event_state_set_prev_content (MatrixEventState *self,
                                     JsonNode *value);

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

Parameters

self

the MatrixEventState instance to modify

 

value

the new value of the "prev-content" property

 

Types and Values

struct MatrixEventState

struct MatrixEventState {
	MatrixEventRoom parent_instance;
	MatrixEventStatePrivate * priv;
	gchar* _state_key;
};

struct MatrixEventStateClass

struct MatrixEventStateClass {
	MatrixEventRoomClass parent_class;
};

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

Members

MatrixEventRoomClass parent_class;

the parent class structure