IMSA Register Indications response

IMSA Register Indications response — Methods to manage the IMSA Register Indications response.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ├── QmiMessageImsaRegisterIndicationsInput
    ╰── QmiMessageImsaRegisterIndicationsOutput

Description

Collection of methods to create requests and parse responses of the IMSA Register Indications message.

Functions

qmi_message_imsa_register_indications_input_new ()

QmiMessageImsaRegisterIndicationsInput *
qmi_message_imsa_register_indications_input_new
                               (void);

Allocates a new QmiMessageImsaRegisterIndicationsInput.

Returns

the newly created QmiMessageImsaRegisterIndicationsInput. The returned value should be freed with qmi_message_imsa_register_indications_input_unref().

Since: 1.36


qmi_message_imsa_register_indications_input_ref ()

QmiMessageImsaRegisterIndicationsInput *
qmi_message_imsa_register_indications_input_ref
                               (QmiMessageImsaRegisterIndicationsInput *self);

Atomically increments the reference count of self by one.

Returns

the new reference to self .

Since: 1.36


qmi_message_imsa_register_indications_input_unref ()

void
qmi_message_imsa_register_indications_input_unref
                               (QmiMessageImsaRegisterIndicationsInput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Since: 1.36


qmi_message_imsa_register_indications_input_get_ims_services_status_changed ()

gboolean
qmi_message_imsa_register_indications_input_get_ims_services_status_changed
                               (QmiMessageImsaRegisterIndicationsInput *self,
                                gboolean *value_ims_services_status_changed,
                                GError **error);

Get the 'IMS Services Status Changed' field from self .

Parameters

self

a QmiMessageImsaRegisterIndicationsInput.

 

value_ims_services_status_changed

a placeholder for the output gboolean, or NULL if not required.

[out][optional]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.36


qmi_message_imsa_register_indications_input_set_ims_services_status_changed ()

gboolean
qmi_message_imsa_register_indications_input_set_ims_services_status_changed
                               (QmiMessageImsaRegisterIndicationsInput *self,
                                gboolean value_ims_services_status_changed,
                                GError **error);

Set the 'IMS Services Status Changed' field in the message.

Parameters

self

a QmiMessageImsaRegisterIndicationsInput.

 

value_ims_services_status_changed

a gboolean.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.

[skip]

Since: 1.36


qmi_message_imsa_register_indications_input_get_ims_registration_status_changed ()

gboolean
qmi_message_imsa_register_indications_input_get_ims_registration_status_changed
                               (QmiMessageImsaRegisterIndicationsInput *self,
                                gboolean *value_ims_registration_status_changed,
                                GError **error);

Get the 'IMS Registration Status Changed' field from self .

Parameters

self

a QmiMessageImsaRegisterIndicationsInput.

 

value_ims_registration_status_changed

a placeholder for the output gboolean, or NULL if not required.

[out][optional]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.36


qmi_message_imsa_register_indications_input_set_ims_registration_status_changed ()

gboolean
qmi_message_imsa_register_indications_input_set_ims_registration_status_changed
                               (QmiMessageImsaRegisterIndicationsInput *self,
                                gboolean value_ims_registration_status_changed,
                                GError **error);

Set the 'IMS Registration Status Changed' field in the message.

Parameters

self

a QmiMessageImsaRegisterIndicationsInput.

 

value_ims_registration_status_changed

a gboolean.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.

[skip]

Since: 1.36


qmi_message_imsa_register_indications_output_ref ()

QmiMessageImsaRegisterIndicationsOutput *
qmi_message_imsa_register_indications_output_ref
                               (QmiMessageImsaRegisterIndicationsOutput *self);

Atomically increments the reference count of self by one.

Returns

the new reference to self .

Since: 1.36


qmi_message_imsa_register_indications_output_unref ()

void
qmi_message_imsa_register_indications_output_unref
                               (QmiMessageImsaRegisterIndicationsOutput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Since: 1.36


qmi_message_imsa_register_indications_output_get_result ()

gboolean
qmi_message_imsa_register_indications_output_get_result
                               (QmiMessageImsaRegisterIndicationsOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageImsaRegisterIndicationsOutput.

 

error

Return location for error or NULL.

 

Returns

TRUE if the QMI operation succeeded, FALSE if error is set.

[skip]

Since: 1.36


qmi_message_imsa_register_indications_response_parse ()

QmiMessageImsaRegisterIndicationsOutput *
qmi_message_imsa_register_indications_response_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiMessageImsaRegisterIndicationsOutput out of it. The operation fails if the message is of the wrong type.

Parameters

message

a QmiMessage.

 

error

return location for error or NULL.

 

Returns

a QmiMessageImsaRegisterIndicationsOutput, or NULL if error is set. The returned value should be freed with qmi_message_imsa_register_indications_output_unref().

Since: 1.36


qmi_client_imsa_register_indications ()

void
qmi_client_imsa_register_indications (QmiClientImsa *self,
                                      QmiMessageImsaRegisterIndicationsInput *input,
                                      guint timeout,
                                      GCancellable *cancellable,
                                      GAsyncReadyCallback callback,
                                      gpointer user_data);

Asynchronously sends a Register Indications request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call qmi_client_imsa_register_indications_finish() to get the result of the operation.

Parameters

self

a QmiClientImsa.

 

input

a QmiMessageImsaRegisterIndicationsInput.

 

timeout

maximum time to wait for the method to complete, in seconds.

 

cancellable

a GCancellable or NULL.

 

callback

a GAsyncReadyCallback to call when the request is satisfied.

 

user_data

user data to pass to callback .

 

Since: 1.36


qmi_client_imsa_register_indications_finish ()

QmiMessageImsaRegisterIndicationsOutput *
qmi_client_imsa_register_indications_finish
                               (QmiClientImsa *self,
                                GAsyncResult *res,
                                GError **error);

Finishes an async operation started with qmi_client_imsa_register_indications().

Parameters

self

a QmiClientImsa.

 

res

the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_imsa_register_indications().

 

error

Return location for error or NULL.

 

Returns

a QmiMessageImsaRegisterIndicationsOutput, or NULL if error is set. The returned value should be freed with qmi_message_imsa_register_indications_output_unref().

Since: 1.36

Types and Values

QmiMessageImsaRegisterIndicationsInput

typedef struct _QmiMessageImsaRegisterIndicationsInput QmiMessageImsaRegisterIndicationsInput;

The QmiMessageImsaRegisterIndicationsInput structure contains private data and should only be accessed using the provided API.

Since: 1.36


QmiMessageImsaRegisterIndicationsOutput

typedef struct _QmiMessageImsaRegisterIndicationsOutput QmiMessageImsaRegisterIndicationsOutput;

The QmiMessageImsaRegisterIndicationsOutput structure contains private data and should only be accessed using the provided API.

Since: 1.36