Top |
NAS Set Preferred Networks responseNAS Set Preferred Networks response — Methods to manage the NAS Set Preferred Networks response. |
GBoxed ├── QmiMessageNasSetPreferredNetworksInput ├── QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement ├── QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement ╰── QmiMessageNasSetPreferredNetworksOutput
Collection of methods to create requests and parse responses of the NAS Set Preferred Networks message.
QmiMessageNasSetPreferredNetworksInput *
qmi_message_nas_set_preferred_networks_input_new
(void
);
Allocates a new QmiMessageNasSetPreferredNetworksInput.
the newly created QmiMessageNasSetPreferredNetworksInput. The returned value should be freed with qmi_message_nas_set_preferred_networks_input_unref()
.
Since: 1.30
QmiMessageNasSetPreferredNetworksInput *
qmi_message_nas_set_preferred_networks_input_ref
(QmiMessageNasSetPreferredNetworksInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_nas_set_preferred_networks_input_unref
(QmiMessageNasSetPreferredNetworksInput *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_set_preferred_networks_input_get_clear_previous_preferred_networks (QmiMessageNasSetPreferredNetworksInput *self
,gboolean *value_clear_previous_preferred_networks
,GError **error
);
Get the 'Clear Previous Preferred Networks' field from self
.
Since: 1.30
gboolean qmi_message_nas_set_preferred_networks_input_set_clear_previous_preferred_networks (QmiMessageNasSetPreferredNetworksInput *self
,gboolean value_clear_previous_preferred_networks
,GError **error
);
Set the 'Clear Previous Preferred Networks' field in the message.
Since: 1.30
gboolean qmi_message_nas_set_preferred_networks_input_get_mnc_pcs_digit_include_status (QmiMessageNasSetPreferredNetworksInput *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 QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement elements, or |
[out][optional][element-type QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_set_preferred_networks_input_get_mnc_pcs_digit_include_status_gir (QmiMessageNasSetPreferredNetworksInput *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_set_preferred_networks_input_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_set_preferred_networks_input_get_mnc_pcs_digit_include_status]
self |
||
value_mnc_pcs_digit_include_status_ptr |
a placeholder for the output array of QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement elements, or |
[out][optional][element-type QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_set_preferred_networks_input_set_mnc_pcs_digit_include_status (QmiMessageNasSetPreferredNetworksInput *self
,GArray *value_mnc_pcs_digit_include_status
,GError **error
);
Set the 'MNC PCS Digit Include Status' field in the message.
[skip]
self |
||
value_mnc_pcs_digit_include_status |
a GArray of QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement elements. A new reference to |
[in][element-type QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_set_preferred_networks_input_set_mnc_pcs_digit_include_status_gir (QmiMessageNasSetPreferredNetworksInput *self
,GPtrArray *value_mnc_pcs_digit_include_status_ptr
,GError **error
);
Set the 'MNC PCS Digit Include Status' field in the message.
[rename-to qmi_message_nas_set_preferred_networks_input_set_mnc_pcs_digit_include_status]
self |
||
value_mnc_pcs_digit_include_status_ptr |
array of QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement elements. The contents of the given array will be copied, the GPtrArray will not increase its reference count. |
[in][element-type QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_set_preferred_networks_input_get_preferred_networks (QmiMessageNasSetPreferredNetworksInput *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 QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement elements, or |
[out][optional][element-type QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_set_preferred_networks_input_get_preferred_networks_gir (QmiMessageNasSetPreferredNetworksInput *self
,GPtrArray **value_preferred_networks_ptr
,GError **error
);
Get the 'Preferred Networks' field from self
.
Version of qmi_message_nas_set_preferred_networks_input_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_set_preferred_networks_input_get_preferred_networks]
self |
||
value_preferred_networks_ptr |
a placeholder for the output array of QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement elements, or |
[out][optional][element-type QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_nas_set_preferred_networks_input_set_preferred_networks (QmiMessageNasSetPreferredNetworksInput *self
,GArray *value_preferred_networks
,GError **error
);
Set the 'Preferred Networks' field in the message.
[skip]
self |
||
value_preferred_networks |
a GArray of QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement elements. A new reference to |
[in][element-type QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement][transfer none] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_nas_set_preferred_networks_input_set_preferred_networks_gir (QmiMessageNasSetPreferredNetworksInput *self
,GPtrArray *value_preferred_networks_ptr
,GError **error
);
Set the 'Preferred Networks' field in the message.
[rename-to qmi_message_nas_set_preferred_networks_input_set_preferred_networks]
self |
||
value_preferred_networks_ptr |
array of QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement elements. The contents of the given array will be copied, the GPtrArray will not increase its reference count. |
[in][element-type QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement][transfer none] |
error |
Return location for error or |
Since: 1.32
QmiMessageNasSetPreferredNetworksOutput *
qmi_message_nas_set_preferred_networks_output_ref
(QmiMessageNasSetPreferredNetworksOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_nas_set_preferred_networks_output_unref
(QmiMessageNasSetPreferredNetworksOutput *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_set_preferred_networks_output_get_result (QmiMessageNasSetPreferredNetworksOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.30
QmiMessageNasSetPreferredNetworksOutput * qmi_message_nas_set_preferred_networks_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageNasSetPreferredNetworksOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageNasSetPreferredNetworksOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_set_preferred_networks_output_unref()
.
Since: 1.34
void qmi_client_nas_set_preferred_networks (QmiClientNas *self
,QmiMessageNasSetPreferredNetworksInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Set 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_set_preferred_networks_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
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
QmiMessageNasSetPreferredNetworksOutput * qmi_client_nas_set_preferred_networks_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_set_preferred_networks()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasSetPreferredNetworksOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_set_preferred_networks_output_unref()
.
Since: 1.30
typedef struct _QmiMessageNasSetPreferredNetworksInput QmiMessageNasSetPreferredNetworksInput;
The QmiMessageNasSetPreferredNetworksInput 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; } QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement;
A QmiMessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement struct.
Since: 1.30
typedef struct { guint16 mcc; guint16 mnc; QmiNasPlmnAccessTechnologyIdentifier radio_access_technology; } QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement;
A QmiMessageNasSetPreferredNetworksInputPreferredNetworksElement struct.
guint16 |
a guint16. |
|
guint16 |
a guint16. |
|
QmiNasPlmnAccessTechnologyIdentifier |
Since: 1.30
typedef struct _QmiMessageNasSetPreferredNetworksOutput QmiMessageNasSetPreferredNetworksOutput;
The QmiMessageNasSetPreferredNetworksOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30