Top |
UIM Get Slot Status responseUIM Get Slot Status response — Methods to manage the UIM Get Slot Status response. |
Collection of methods to create requests and parse responses of the UIM Get Slot Status message.
QmiMessageUimGetSlotStatusOutput *
qmi_message_uim_get_slot_status_output_ref
(QmiMessageUimGetSlotStatusOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.26
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.
Since: 1.26
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]
self |
||
value_slot_eid |
a placeholder for the output GArray of QmiSlotEidElement elements, or |
[out][optional][element-type QmiSlotEidElement][transfer none] |
error |
Return location for error or |
Since: 1.32
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]
self |
||
value_slot_eid_ptr |
a placeholder for the output array of QmiSlotEidElement elements, or |
[out][optional][element-type QmiSlotEidElement][transfer none] |
error |
Return location for error or |
Since: 1.32
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]
self |
||
value_physical_slot_information |
a placeholder for the output GArray of QmiPhysicalSlotInformationSlot elements, or |
[out][optional][element-type QmiPhysicalSlotInformationSlot][transfer none] |
error |
Return location for error or |
Since: 1.26
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]
self |
||
value_physical_slot_information_ptr |
a placeholder for the output array of QmiPhysicalSlotInformationSlot elements, or |
[out][optional][element-type QmiPhysicalSlotInformationSlot][transfer none] |
error |
Return location for error or |
Since: 1.32
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]
self |
||
value_physical_slot_status |
a placeholder for the output GArray of QmiPhysicalSlotStatusSlot elements, or |
[out][optional][element-type QmiPhysicalSlotStatusSlot][transfer none] |
error |
Return location for error or |
Since: 1.26
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]
self |
||
value_physical_slot_status_ptr |
a placeholder for the output array of QmiPhysicalSlotStatusSlot elements, or |
[out][optional][element-type QmiPhysicalSlotStatusSlot][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_uim_get_slot_status_output_get_result (QmiMessageUimGetSlotStatusOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.26
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.
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
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.
self |
a QmiClientUim. |
|
unused |
|
|
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.26
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()
.
self |
a QmiClientUim. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
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
typedef struct _QmiMessageUimGetSlotStatusOutput QmiMessageUimGetSlotStatusOutput;
The QmiMessageUimGetSlotStatusOutput structure contains private data and should only be accessed using the provided API.
Since: 1.26