Top |
NAS Get Preferred Networks responseNAS Get Preferred Networks response — Methods to manage the NAS Get Preferred Networks response. |
GBoxed ├── QmiMessageNasGetPreferredNetworksOutput ├── QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement ╰── QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement
Collection of methods to create requests and parse responses of the NAS Get Preferred Networks message.
QmiMessageNasGetPreferredNetworksOutput *
qmi_message_nas_get_preferred_networks_output_ref
(QmiMessageNasGetPreferredNetworksOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_nas_get_preferred_networks_output_unref
(QmiMessageNasGetPreferredNetworksOutput *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_nas_get_preferred_networks_output_get_mnc_pcs_digit_include_status (QmiMessageNasGetPreferredNetworksOutput *self
,GArray **value_mnc_pcs_digit_include_status
,GError **error
);
Get the 'MNC PCS Digit Include Status' field from self
.
[skip]
self |
||
value_mnc_pcs_digit_include_status |
a placeholder for the output GArray of QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement elements, or |
[out][optional][element-type QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_get_preferred_networks_output_get_mnc_pcs_digit_include_status_gir (QmiMessageNasGetPreferredNetworksOutput *self
,GPtrArray **value_mnc_pcs_digit_include_status_ptr
,GError **error
);
Get the 'MNC PCS Digit Include Status' field from self
.
Version of qmi_message_nas_get_preferred_networks_output_get_mnc_pcs_digit_include_status()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_preferred_networks_output_get_mnc_pcs_digit_include_status]
self |
||
value_mnc_pcs_digit_include_status_ptr |
a placeholder for the output array of QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement elements, or |
[out][optional][element-type QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_get_preferred_networks_output_get_result (QmiMessageNasGetPreferredNetworksOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.30
gboolean qmi_message_nas_get_preferred_networks_output_get_preferred_networks (QmiMessageNasGetPreferredNetworksOutput *self
,GArray **value_preferred_networks
,GError **error
);
Get the 'Preferred Networks' field from self
.
[skip]
self |
||
value_preferred_networks |
a placeholder for the output GArray of QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement elements, or |
[out][optional][element-type QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_get_preferred_networks_output_get_preferred_networks_gir (QmiMessageNasGetPreferredNetworksOutput *self
,GPtrArray **value_preferred_networks_ptr
,GError **error
);
Get the 'Preferred Networks' field from self
.
Version of qmi_message_nas_get_preferred_networks_output_get_preferred_networks()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_nas_get_preferred_networks_output_get_preferred_networks]
self |
||
value_preferred_networks_ptr |
a placeholder for the output array of QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement elements, or |
[out][optional][element-type QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement][transfer none] |
error |
Return location for error or |
Since: 1.32
QmiMessageNasGetPreferredNetworksOutput * qmi_message_nas_get_preferred_networks_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasGetPreferredNetworksOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasGetPreferredNetworksOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_preferred_networks_output_unref()
.
Since: 1.34
void qmi_client_nas_get_preferred_networks (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Preferred Networks 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_nas_get_preferred_networks_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
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.30
QmiMessageNasGetPreferredNetworksOutput * qmi_client_nas_get_preferred_networks_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_preferred_networks()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetPreferredNetworksOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_preferred_networks_output_unref()
.
Since: 1.30
typedef struct _QmiMessageNasGetPreferredNetworksOutput QmiMessageNasGetPreferredNetworksOutput;
The QmiMessageNasGetPreferredNetworksOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30
typedef struct { guint16 mcc; guint16 mnc; gboolean includes_pcs_digit; } QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement;
A QmiMessageNasGetPreferredNetworksOutputMncPcsDigitIncludeStatusElement struct.
Since: 1.30
typedef struct { guint16 mcc; guint16 mnc; QmiNasPlmnAccessTechnologyIdentifier radio_access_technology; } QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement;
A QmiMessageNasGetPreferredNetworksOutputPreferredNetworksElement struct.
guint16 |
a guint16. |
|
guint16 |
a guint16. |
|
QmiNasPlmnAccessTechnologyIdentifier |
Since: 1.30