UIM Get Slot Status response

UIM Get Slot Status response — Methods to manage the UIM Get Slot Status response.

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── QmiMessageUimGetSlotStatusOutput

Description

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

Functions

qmi_message_uim_get_slot_status_output_ref ()

QmiMessageUimGetSlotStatusOutput *
qmi_message_uim_get_slot_status_output_ref
                               (QmiMessageUimGetSlotStatusOutput *self);

Atomically increments the reference count of self by one.

Parameters

Returns

the new reference to self .

Since: 1.26


qmi_message_uim_get_slot_status_output_unref ()

void
qmi_message_uim_get_slot_status_output_unref
                               (QmiMessageUimGetSlotStatusOutput *self);

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Parameters

Since: 1.26


qmi_message_uim_get_slot_status_output_get_slot_eid ()

gboolean
qmi_message_uim_get_slot_status_output_get_slot_eid
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GArray **value_slot_eid,
                                GError **error);

Get the 'Slot EID' field from self .

[skip]

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

value_slot_eid

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

[out][optional][element-type QmiSlotEidElement][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_slot_status_output_get_slot_eid_gir ()

gboolean
qmi_message_uim_get_slot_status_output_get_slot_eid_gir
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GPtrArray **value_slot_eid_ptr,
                                GError **error);

Get the 'Slot EID' field from self .

Version of qmi_message_uim_get_slot_status_output_get_slot_eid() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_message_uim_get_slot_status_output_get_slot_eid]

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

value_slot_eid_ptr

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

[out][optional][element-type QmiSlotEidElement][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_slot_status_output_get_physical_slot_information ()

gboolean
qmi_message_uim_get_slot_status_output_get_physical_slot_information
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GArray **value_physical_slot_information,
                                GError **error);

Get the 'Physical Slot Information' field from self .

[skip]

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

value_physical_slot_information

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

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

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.26


qmi_message_uim_get_slot_status_output_get_physical_slot_information_gir ()

gboolean
qmi_message_uim_get_slot_status_output_get_physical_slot_information_gir
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GPtrArray **value_physical_slot_information_ptr,
                                GError **error);

Get the 'Physical Slot Information' field from self .

Version of qmi_message_uim_get_slot_status_output_get_physical_slot_information() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_message_uim_get_slot_status_output_get_physical_slot_information]

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

value_physical_slot_information_ptr

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

[out][optional][element-type QmiPhysicalSlotInformationSlot][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_slot_status_output_get_physical_slot_status ()

gboolean
qmi_message_uim_get_slot_status_output_get_physical_slot_status
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GArray **value_physical_slot_status,
                                GError **error);

Get the 'Physical Slot Status' field from self .

[skip]

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

value_physical_slot_status

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

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

error

Return location for error or NULL.

 

Returns

TRUE if the field is found, FALSE otherwise.

[skip]

Since: 1.26


qmi_message_uim_get_slot_status_output_get_physical_slot_status_gir ()

gboolean
qmi_message_uim_get_slot_status_output_get_physical_slot_status_gir
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GPtrArray **value_physical_slot_status_ptr,
                                GError **error);

Get the 'Physical Slot Status' field from self .

Version of qmi_message_uim_get_slot_status_output_get_physical_slot_status() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

[rename-to qmi_message_uim_get_slot_status_output_get_physical_slot_status]

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

value_physical_slot_status_ptr

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

[out][optional][element-type QmiPhysicalSlotStatusSlot][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_slot_status_output_get_result ()

gboolean
qmi_message_uim_get_slot_status_output_get_result
                               (QmiMessageUimGetSlotStatusOutput *self,
                                GError **error);

Get the result of the QMI operation.

Parameters

self

a QmiMessageUimGetSlotStatusOutput.

 

error

Return location for error or NULL.

 

Returns

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

[skip]

Since: 1.26


qmi_message_uim_get_slot_status_response_parse ()

QmiMessageUimGetSlotStatusOutput *
qmi_message_uim_get_slot_status_response_parse
                               (QmiMessage *message,
                                GError **error);

Parses a QmiMessage and builds a QmiMessageUimGetSlotStatusOutput 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 QmiMessageUimGetSlotStatusOutput, or NULL if error is set. The returned value should be freed with qmi_message_uim_get_slot_status_output_unref().

Since: 1.34


qmi_client_uim_get_slot_status ()

void
qmi_client_uim_get_slot_status (QmiClientUim *self,
                                gpointer unused,
                                guint timeout,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Asynchronously sends a Get Slot Status 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_slot_status_finish() to get the result of the operation.

Parameters

self

a QmiClientUim.

 

unused

NULL. This message doesn't have any input bundle.

 

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


qmi_client_uim_get_slot_status_finish ()

QmiMessageUimGetSlotStatusOutput *
qmi_client_uim_get_slot_status_finish (QmiClientUim *self,
                                       GAsyncResult *res,
                                       GError **error);

Finishes an async operation started with qmi_client_uim_get_slot_status().

Parameters

self

a QmiClientUim.

 

res

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

 

error

Return location for error or NULL.

 

Returns

a QmiMessageUimGetSlotStatusOutput, or NULL if error is set. The returned value should be freed with qmi_message_uim_get_slot_status_output_unref().

Since: 1.26

Types and Values

QmiMessageUimGetSlotStatusOutput

typedef struct _QmiMessageUimGetSlotStatusOutput QmiMessageUimGetSlotStatusOutput;

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

Since: 1.26