Top |
UIM Depersonalization responseUIM Depersonalization response — Methods to manage the UIM Depersonalization response. |
GBoxed ├── QmiMessageUimDepersonalizationInput ╰── QmiMessageUimDepersonalizationOutput
Collection of methods to create requests and parse responses of the UIM Depersonalization message.
QmiMessageUimDepersonalizationInput *
qmi_message_uim_depersonalization_input_new
(void
);
Allocates a new QmiMessageUimDepersonalizationInput.
the newly created QmiMessageUimDepersonalizationInput. The returned value should be freed with qmi_message_uim_depersonalization_input_unref()
.
Since: 1.30
QmiMessageUimDepersonalizationInput *
qmi_message_uim_depersonalization_input_ref
(QmiMessageUimDepersonalizationInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_uim_depersonalization_input_unref
(QmiMessageUimDepersonalizationInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.30
gboolean qmi_message_uim_depersonalization_input_get_slot (QmiMessageUimDepersonalizationInput *self
,guint8 *value_slot
,GError **error
);
Get the 'Slot' field from self
.
Since: 1.30
gboolean qmi_message_uim_depersonalization_input_set_slot (QmiMessageUimDepersonalizationInput *self
,guint8 value_slot
,GError **error
);
Set the 'Slot' field in the message.
Since: 1.30
gboolean qmi_message_uim_depersonalization_input_get_info (QmiMessageUimDepersonalizationInput *self
,QmiUimCardApplicationPersonalizationFeature *value_info_feature
,QmiUimDepersonalizationOperation *value_info_operation
,const gchar **value_info_control_key
,GError **error
);
Get the 'Info' field from self
.
self |
||
value_info_feature |
a placeholder for the output QmiUimCardApplicationPersonalizationFeature, or |
[out][optional] |
value_info_operation |
a placeholder for the output QmiUimDepersonalizationOperation, or |
[out][optional] |
value_info_control_key |
a placeholder for the output constant string, or |
[out][optional][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_uim_depersonalization_input_set_info (QmiMessageUimDepersonalizationInput *self
,QmiUimCardApplicationPersonalizationFeature value_info_feature
,QmiUimDepersonalizationOperation value_info_operation
,const gchar *value_info_control_key
,GError **error
);
Set the 'Info' field in the message.
self |
||
value_info_feature |
||
value_info_operation |
||
value_info_control_key |
a constant string. |
|
error |
Return location for error or |
Since: 1.30
QmiMessageUimDepersonalizationOutput *
qmi_message_uim_depersonalization_output_ref
(QmiMessageUimDepersonalizationOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_uim_depersonalization_output_unref
(QmiMessageUimDepersonalizationOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.30
gboolean qmi_message_uim_depersonalization_output_get_result (QmiMessageUimDepersonalizationOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.30
gboolean qmi_message_uim_depersonalization_output_get_retries_remaining (QmiMessageUimDepersonalizationOutput *self
,guint8 *value_retries_remaining_verify_left
,guint8 *value_retries_remaining_unblock_left
,GError **error
);
Get the 'Retries Remaining' field from self
.
Since: 1.30
QmiMessageUimDepersonalizationOutput * qmi_message_uim_depersonalization_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageUimDepersonalizationOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageUimDepersonalizationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_depersonalization_output_unref()
.
Since: 1.34
void qmi_client_uim_depersonalization (QmiClientUim *self
,QmiMessageUimDepersonalizationInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Depersonalization 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_depersonalization_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.30
QmiMessageUimDepersonalizationOutput * qmi_client_uim_depersonalization_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_uim_depersonalization()
.
self |
a QmiClientUim. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageUimDepersonalizationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_depersonalization_output_unref()
.
Since: 1.30
typedef struct _QmiMessageUimDepersonalizationInput QmiMessageUimDepersonalizationInput;
The QmiMessageUimDepersonalizationInput structure contains private data and should only be accessed using the provided API.
Since: 1.30
typedef struct _QmiMessageUimDepersonalizationOutput QmiMessageUimDepersonalizationOutput;
The QmiMessageUimDepersonalizationOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30