Top |
UIM Change Provisioning Session responseUIM Change Provisioning Session response — Methods to manage the UIM Change Provisioning Session response. |
GBoxed ├── QmiMessageUimChangeProvisioningSessionInput ╰── QmiMessageUimChangeProvisioningSessionOutput
Collection of methods to create requests and parse responses of the UIM Change Provisioning Session message.
QmiMessageUimChangeProvisioningSessionInput *
qmi_message_uim_change_provisioning_session_input_new
(void
);
Allocates a new QmiMessageUimChangeProvisioningSessionInput.
the newly created QmiMessageUimChangeProvisioningSessionInput. The returned value should be freed with qmi_message_uim_change_provisioning_session_input_unref()
.
Since: 1.24
QmiMessageUimChangeProvisioningSessionInput *
qmi_message_uim_change_provisioning_session_input_ref
(QmiMessageUimChangeProvisioningSessionInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.24
void
qmi_message_uim_change_provisioning_session_input_unref
(QmiMessageUimChangeProvisioningSessionInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.24
gboolean qmi_message_uim_change_provisioning_session_input_get_application_information (QmiMessageUimChangeProvisioningSessionInput *self
,guint8 *value_application_information_slot
,GArray **value_application_information_application_identifier
,GError **error
);
Get the 'Application Information' field from self
.
self |
||
value_application_information_slot |
a placeholder for the output guint8, or |
[out][optional] |
value_application_information_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.24
gboolean qmi_message_uim_change_provisioning_session_input_set_application_information (QmiMessageUimChangeProvisioningSessionInput *self
,guint8 value_application_information_slot
,GArray *value_application_information_application_identifier
,GError **error
);
Set the 'Application Information' field in the message.
self |
||
value_application_information_slot |
a guint8. |
|
value_application_information_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.24
gboolean qmi_message_uim_change_provisioning_session_input_get_session_change (QmiMessageUimChangeProvisioningSessionInput *self
,QmiUimSessionType *value_session_change_session_type
,gboolean *value_session_change_activate
,GError **error
);
Get the 'Session Change' field from self
.
self |
||
value_session_change_session_type |
a placeholder for the output QmiUimSessionType, or |
[out][optional] |
value_session_change_activate |
a placeholder for the output gboolean, or |
[out][optional] |
error |
Return location for error or |
Since: 1.24
gboolean qmi_message_uim_change_provisioning_session_input_set_session_change (QmiMessageUimChangeProvisioningSessionInput *self
,QmiUimSessionType value_session_change_session_type
,gboolean value_session_change_activate
,GError **error
);
Set the 'Session Change' field in the message.
Since: 1.24
QmiMessageUimChangeProvisioningSessionOutput *
qmi_message_uim_change_provisioning_session_output_ref
(QmiMessageUimChangeProvisioningSessionOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.24
void
qmi_message_uim_change_provisioning_session_output_unref
(QmiMessageUimChangeProvisioningSessionOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.24
gboolean qmi_message_uim_change_provisioning_session_output_get_result (QmiMessageUimChangeProvisioningSessionOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageUimChangeProvisioningSessionOutput. |
|
error |
Return location for error or |
Since: 1.24
QmiMessageUimChangeProvisioningSessionOutput * qmi_message_uim_change_provisioning_session_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageUimChangeProvisioningSessionOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageUimChangeProvisioningSessionOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_change_provisioning_session_output_unref()
.
Since: 1.34
void qmi_client_uim_change_provisioning_session (QmiClientUim *self
,QmiMessageUimChangeProvisioningSessionInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Change Provisioning Session 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_change_provisioning_session_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.24
QmiMessageUimChangeProvisioningSessionOutput * qmi_client_uim_change_provisioning_session_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_uim_change_provisioning_session()
.
self |
a QmiClientUim. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageUimChangeProvisioningSessionOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_change_provisioning_session_output_unref()
.
Since: 1.24
typedef struct _QmiMessageUimChangeProvisioningSessionInput QmiMessageUimChangeProvisioningSessionInput;
The QmiMessageUimChangeProvisioningSessionInput structure contains private data and should only be accessed using the provided API.
Since: 1.24
typedef struct _QmiMessageUimChangeProvisioningSessionOutput QmiMessageUimChangeProvisioningSessionOutput;
The QmiMessageUimChangeProvisioningSessionOutput structure contains private data and should only be accessed using the provided API.
Since: 1.24