Top |
UIM Refresh Register All responseUIM Refresh Register All response — Methods to manage the UIM Refresh Register All response. |
GBoxed ├── QmiMessageUimRefreshRegisterAllInput ╰── QmiMessageUimRefreshRegisterAllOutput
Collection of methods to create requests and parse responses of the UIM Refresh Register All message.
QmiMessageUimRefreshRegisterAllInput *
qmi_message_uim_refresh_register_all_input_new
(void
);
Allocates a new QmiMessageUimRefreshRegisterAllInput.
the newly created QmiMessageUimRefreshRegisterAllInput. The returned value should be freed with qmi_message_uim_refresh_register_all_input_unref()
.
Since: 1.28
QmiMessageUimRefreshRegisterAllInput *
qmi_message_uim_refresh_register_all_input_ref
(QmiMessageUimRefreshRegisterAllInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.28
void
qmi_message_uim_refresh_register_all_input_unref
(QmiMessageUimRefreshRegisterAllInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.28
gboolean qmi_message_uim_refresh_register_all_input_get_info (QmiMessageUimRefreshRegisterAllInput *self
,gboolean *value_info_register_flag
,GError **error
);
Get the 'Info' field from self
.
Since: 1.28
gboolean qmi_message_uim_refresh_register_all_input_set_info (QmiMessageUimRefreshRegisterAllInput *self
,gboolean value_info_register_flag
,GError **error
);
Set the 'Info' field in the message.
Since: 1.28
gboolean qmi_message_uim_refresh_register_all_input_get_session (QmiMessageUimRefreshRegisterAllInput *self
,QmiUimSessionType *value_session_session_type
,GArray **value_session_application_identifier
,GError **error
);
Get the 'Session' field from self
.
self |
||
value_session_session_type |
a placeholder for the output QmiUimSessionType, or |
[out][optional] |
value_session_application_identifier |
a placeholder for the output GArray of guint8 elements, or |
[out][optional][element-type guint8][transfer none] |
error |
Return location for error or |
Since: 1.28
gboolean qmi_message_uim_refresh_register_all_input_set_session (QmiMessageUimRefreshRegisterAllInput *self
,QmiUimSessionType value_session_session_type
,GArray *value_session_application_identifier
,GError **error
);
Set the 'Session' field in the message.
self |
||
value_session_session_type |
||
value_session_application_identifier |
a GArray of guint8 elements. A new reference to |
[in][element-type guint8][transfer none] |
error |
Return location for error or |
Since: 1.28
QmiMessageUimRefreshRegisterAllOutput *
qmi_message_uim_refresh_register_all_output_ref
(QmiMessageUimRefreshRegisterAllOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.28
void
qmi_message_uim_refresh_register_all_output_unref
(QmiMessageUimRefreshRegisterAllOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.28
gboolean qmi_message_uim_refresh_register_all_output_get_result (QmiMessageUimRefreshRegisterAllOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.28
QmiMessageUimRefreshRegisterAllOutput * qmi_message_uim_refresh_register_all_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageUimRefreshRegisterAllOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageUimRefreshRegisterAllOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_refresh_register_all_output_unref()
.
Since: 1.34
void qmi_client_uim_refresh_register_all (QmiClientUim *self
,QmiMessageUimRefreshRegisterAllInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Refresh Register All 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_uim_refresh_register_all_finish()
to get the result of the operation.
self |
a QmiClientUim. |
|
input |
||
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
Since: 1.28
QmiMessageUimRefreshRegisterAllOutput * qmi_client_uim_refresh_register_all_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_uim_refresh_register_all()
.
self |
a QmiClientUim. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageUimRefreshRegisterAllOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_refresh_register_all_output_unref()
.
Since: 1.28
typedef struct _QmiMessageUimRefreshRegisterAllInput QmiMessageUimRefreshRegisterAllInput;
The QmiMessageUimRefreshRegisterAllInput structure contains private data and should only be accessed using the provided API.
Since: 1.28
typedef struct _QmiMessageUimRefreshRegisterAllOutput QmiMessageUimRefreshRegisterAllOutput;
The QmiMessageUimRefreshRegisterAllOutput structure contains private data and should only be accessed using the provided API.
Since: 1.28