Top |
UIM Get Configuration responseUIM Get Configuration response — Methods to manage the UIM Get Configuration response. |
GBoxed ├── QmiMessageUimGetConfigurationInput ├── QmiMessageUimGetConfigurationOutput ├── QmiMessageUimGetConfigurationOutputPersonalizationStatusElement ├── QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir ╰── QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement
Collection of methods to create requests and parse responses of the UIM Get Configuration message.
QmiMessageUimGetConfigurationInput *
qmi_message_uim_get_configuration_input_new
(void
);
Allocates a new QmiMessageUimGetConfigurationInput.
the newly created QmiMessageUimGetConfigurationInput. The returned value should be freed with qmi_message_uim_get_configuration_input_unref()
.
Since: 1.30
QmiMessageUimGetConfigurationInput *
qmi_message_uim_get_configuration_input_ref
(QmiMessageUimGetConfigurationInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_uim_get_configuration_input_unref
(QmiMessageUimGetConfigurationInput *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_get_configuration_input_get_configuration_mask (QmiMessageUimGetConfigurationInput *self
,QmiUimConfiguration *value_configuration_mask
,GError **error
);
Get the 'Configuration Mask' field from self
.
self |
||
value_configuration_mask |
a placeholder for the output QmiUimConfiguration, or |
[out][optional] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_uim_get_configuration_input_set_configuration_mask (QmiMessageUimGetConfigurationInput *self
,QmiUimConfiguration value_configuration_mask
,GError **error
);
Set the 'Configuration Mask' field in the message.
Since: 1.30
QmiMessageUimGetConfigurationOutput *
qmi_message_uim_get_configuration_output_ref
(QmiMessageUimGetConfigurationOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_uim_get_configuration_output_unref
(QmiMessageUimGetConfigurationOutput *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_get_configuration_output_get_result (QmiMessageUimGetConfigurationOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.30
gboolean qmi_message_uim_get_configuration_output_get_automatic_selection (QmiMessageUimGetConfigurationOutput *self
,gboolean *value_automatic_selection
,GError **error
);
Get the 'Automatic Selection' field from self
.
Since: 1.30
gboolean qmi_message_uim_get_configuration_output_get_personalization_status (QmiMessageUimGetConfigurationOutput *self
,GArray **value_personalization_status
,GError **error
);
Get the 'Personalization Status' field from self
.
[skip]
self |
||
value_personalization_status |
a placeholder for the output GArray of QmiMessageUimGetConfigurationOutputPersonalizationStatusElement elements, or |
[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_uim_get_configuration_output_get_personalization_status_gir (QmiMessageUimGetConfigurationOutput *self
,GPtrArray **value_personalization_status_ptr
,GError **error
);
Get the 'Personalization Status' field from self
.
Version of qmi_message_uim_get_configuration_output_get_personalization_status()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_uim_get_configuration_output_get_personalization_status]
self |
||
value_personalization_status_ptr |
a placeholder for the output array of QmiMessageUimGetConfigurationOutputPersonalizationStatusElement elements, or |
[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_uim_get_configuration_output_get_halt_subscription (QmiMessageUimGetConfigurationOutput *self
,gboolean *value_halt_subscription
,GError **error
);
Get the 'Halt Subscription' field from self
.
Since: 1.30
gboolean qmi_message_uim_get_configuration_output_get_personalization_status_other (QmiMessageUimGetConfigurationOutput *self
,GArray **value_personalization_status_other
,GError **error
);
Get the 'Personalization Status Other' field from self
.
[skip]
self |
||
value_personalization_status_other |
a placeholder for the output GArray of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement elements, or |
[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_uim_get_configuration_output_get_personalization_status_other_gir (QmiMessageUimGetConfigurationOutput *self
,GPtrArray **value_personalization_status_other_ptr
,GError **error
);
Get the 'Personalization Status Other' field from self
.
Version of qmi_message_uim_get_configuration_output_get_personalization_status_other()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_uim_get_configuration_output_get_personalization_status_other]
self |
||
value_personalization_status_other_ptr |
a placeholder for the output array of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement elements, or |
[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir][transfer none] |
error |
Return location for error or |
Since: 1.32
QmiMessageUimGetConfigurationOutput * qmi_message_uim_get_configuration_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageUimGetConfigurationOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageUimGetConfigurationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_get_configuration_output_unref()
.
Since: 1.34
void qmi_client_uim_get_configuration (QmiClientUim *self
,QmiMessageUimGetConfigurationInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Configuration 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_get_configuration_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
QmiMessageUimGetConfigurationOutput * qmi_client_uim_get_configuration_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_uim_get_configuration()
.
self |
a QmiClientUim. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageUimGetConfigurationOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_get_configuration_output_unref()
.
Since: 1.30
typedef struct _QmiMessageUimGetConfigurationInput QmiMessageUimGetConfigurationInput;
The QmiMessageUimGetConfigurationInput structure contains private data and should only be accessed using the provided API.
Since: 1.30
typedef struct _QmiMessageUimGetConfigurationOutput QmiMessageUimGetConfigurationOutput;
The QmiMessageUimGetConfigurationOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30
typedef struct { QmiUimCardApplicationPersonalizationFeature feature; guint8 verify_left; guint8 unblock_left; } QmiMessageUimGetConfigurationOutputPersonalizationStatusElement;
A QmiMessageUimGetConfigurationOutputPersonalizationStatusElement struct.
Since: 1.30
typedef struct { QmiUimCardApplicationPersonalizationFeature feature; guint8 verify_left; guint8 unblock_left; } QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement;
A QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement struct.
Since: 1.32
typedef struct { GArray *slot; } QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement;
A QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement struct.
GArray * |
a GArray of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement elements. |
Since: 1.32
typedef struct { GPtrArray *slot; } QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir;
A QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir struct.
This type is a version of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement, using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.
GPtrArray * |
an array of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement elements. |
[element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement] |
Since: 1.32