UIM Get Configuration response

UIM Get Configuration response — Methods to manage the UIM Get Configuration response.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ├── QmiMessageUimGetConfigurationInput
    ├── QmiMessageUimGetConfigurationOutput
    ├── QmiMessageUimGetConfigurationOutputPersonalizationStatusElement
    ├── QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir
    ╰── QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement

Description

Collection of methods to create requests and parse responses of the UIM Get Configuration message.

Functions

qmi_message_uim_get_configuration_input_new ()

QmiMessageUimGetConfigurationInput *
qmi_message_uim_get_configuration_input_new
                               (void);

Allocates a new QmiMessageUimGetConfigurationInput.

Returns

the newly created QmiMessageUimGetConfigurationInput. The returned value should be freed with qmi_message_uim_get_configuration_input_unref().

Since: 1.30


qmi_message_uim_get_configuration_input_ref ()

QmiMessageUimGetConfigurationInput *
qmi_message_uim_get_configuration_input_ref
                               (QmiMessageUimGetConfigurationInput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.30


qmi_message_uim_get_configuration_input_unref ()

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.

Parameters

Since: 1.30


qmi_message_uim_get_configuration_input_get_configuration_mask ()

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 .

Parameters

self

a QmiMessageUimGetConfigurationInput.

 

value_configuration_mask

a placeholder for the output QmiUimConfiguration, 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.30


qmi_message_uim_get_configuration_input_set_configuration_mask ()

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.

Parameters

self

a QmiMessageUimGetConfigurationInput.

 

value_configuration_mask

a QmiUimConfiguration.

 

error

Return location for error or NULL.

 

Returns

TRUE if value was successfully set, FALSE otherwise.

[skip]

Since: 1.30


qmi_message_uim_get_configuration_output_ref ()

QmiMessageUimGetConfigurationOutput *
qmi_message_uim_get_configuration_output_ref
                               (QmiMessageUimGetConfigurationOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.30


qmi_message_uim_get_configuration_output_unref ()

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.

Parameters

Since: 1.30


qmi_message_uim_get_configuration_output_get_result ()

gboolean
qmi_message_uim_get_configuration_output_get_result
                               (QmiMessageUimGetConfigurationOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

error

Return location for error or NULL.

 

Returns

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

[skip]

Since: 1.30


qmi_message_uim_get_configuration_output_get_automatic_selection ()

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 .

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

value_automatic_selection

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.30


qmi_message_uim_get_configuration_output_get_personalization_status ()

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]

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

value_personalization_status

a placeholder for the output GArray of QmiMessageUimGetConfigurationOutputPersonalizationStatusElement elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.30


qmi_message_uim_get_configuration_output_get_personalization_status_gir ()

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]

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

value_personalization_status_ptr

a placeholder for the output array of QmiMessageUimGetConfigurationOutputPersonalizationStatusElement elements, or NULL if not required. Do not free or modify it, it is owned by self .

[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_message_uim_get_configuration_output_get_halt_subscription ()

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 .

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

value_halt_subscription

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.30


qmi_message_uim_get_configuration_output_get_personalization_status_other ()

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]

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

value_personalization_status_other

a placeholder for the output GArray of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement elements, or NULL if not required. Do not free it, it is owned by self .

[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_message_uim_get_configuration_output_get_personalization_status_other_gir ()

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]

Parameters

self

a QmiMessageUimGetConfigurationOutput.

 

value_personalization_status_other_ptr

a placeholder for the output array of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement elements, or NULL if not required. Do not free or modify it, it is owned by self .

[out][optional][element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir][transfer none]

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.32


qmi_message_uim_get_configuration_response_parse ()

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.

Parameters

message

a QmiMessage.

 

error

return location for error or NULL.

 

Returns

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


qmi_client_uim_get_configuration ()

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.

Parameters

self

a QmiClientUim.

 

input

a QmiMessageUimGetConfigurationInput.

 

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.30


qmi_client_uim_get_configuration_finish ()

QmiMessageUimGetConfigurationOutput *
qmi_client_uim_get_configuration_finish
                               (QmiClientUim *self,
                                GAsyncResult *res,
                                GError **error);

Finishes an async operation started with qmi_client_uim_get_configuration().

Parameters

self

a QmiClientUim.

 

res

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

 

error

Return location for error or NULL.

 

Returns

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

Types and Values

QmiMessageUimGetConfigurationInput

typedef struct _QmiMessageUimGetConfigurationInput QmiMessageUimGetConfigurationInput;

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

Since: 1.30


QmiMessageUimGetConfigurationOutput

typedef struct _QmiMessageUimGetConfigurationOutput QmiMessageUimGetConfigurationOutput;

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

Since: 1.30


QmiMessageUimGetConfigurationOutputPersonalizationStatusElement

typedef struct {
    QmiUimCardApplicationPersonalizationFeature feature;
    guint8 verify_left;
    guint8 unblock_left;
} QmiMessageUimGetConfigurationOutputPersonalizationStatusElement;

A QmiMessageUimGetConfigurationOutputPersonalizationStatusElement struct.

Since: 1.30


QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement

typedef struct {
    QmiUimCardApplicationPersonalizationFeature feature;
    guint8 verify_left;
    guint8 unblock_left;
} QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement;

A QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement struct.

Since: 1.32


QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement

typedef struct {
    GArray *slot;
} QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement;

A QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElement struct.

Since: 1.32


QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementGir

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.

Members

GPtrArray *slot;

an array of QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement elements.

[element-type QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement]

Since: 1.32