libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageNasGetSystemSelectionPreferenceOutput; QmiMessageNasGetSystemSelectionPreferenceOutput * qmi_message_nas_get_system_selection_preference_output_ref (QmiMessageNasGetSystemSelectionPreferenceOutput *self
); void qmi_message_nas_get_system_selection_preference_output_unref (QmiMessageNasGetSystemSelectionPreferenceOutput *self
); gboolean qmi_message_nas_get_system_selection_preference_output_get_result (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_manual_network_selection (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,guint16 *manual_network_selection_mcc
,guint16 *manual_network_selection_mnc
,gboolean *manual_network_selection_includes_pcs_digit
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_td_scdma_band_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasTdScdmaBandPreference *td_scdma_band_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_gsm_wcdma_acquisition_order_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasGsmWcdmaAcquisitionOrderPreference *gsm_wcdma_acquisition_order_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_service_domain_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasServiceDomainPreference *service_domain_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_network_selection_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasNetworkSelectionPreference *network_selection_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_lte_band_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasLteBandPreference *lte_band_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_roaming_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasRoamingPreference *roaming_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_cdma_prl_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasCdmaPrlPreference *cdma_prl_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_band_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasBandPreference *band_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_mode_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasRatModePreference *mode_preference
,GError **error
); gboolean qmi_message_nas_get_system_selection_preference_output_get_emergency_mode (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,gboolean *emergency_mode
,GError **error
); void qmi_client_nas_get_system_selection_preference (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageNasGetSystemSelectionPreferenceOutput * qmi_client_nas_get_system_selection_preference_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
typedef struct _QmiMessageNasGetSystemSelectionPreferenceOutput QmiMessageNasGetSystemSelectionPreferenceOutput;
The QmiMessageNasGetSystemSelectionPreferenceOutput structure contains private data and should only be accessed using the provided API.
QmiMessageNasGetSystemSelectionPreferenceOutput * qmi_message_nas_get_system_selection_preference_output_ref
(QmiMessageNasGetSystemSelectionPreferenceOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
Returns : |
the new reference to self . |
void qmi_message_nas_get_system_selection_preference_output_unref
(QmiMessageNasGetSystemSelectionPreferenceOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_nas_get_system_selection_preference_output_get_result (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_nas_get_system_selection_preference_output_get_manual_network_selection (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,guint16 *manual_network_selection_mcc
,guint16 *manual_network_selection_mnc
,gboolean *manual_network_selection_includes_pcs_digit
,GError **error
);
Get the 'Manual Network Selection' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output gboolean, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_td_scdma_band_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasTdScdmaBandPreference *td_scdma_band_preference
,GError **error
);
Get the 'TD SCDMA Band Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasTdScdmaBandPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_gsm_wcdma_acquisition_order_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasGsmWcdmaAcquisitionOrderPreference *gsm_wcdma_acquisition_order_preference
,GError **error
);
Get the 'GSM WCDMA Acquisition Order Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasGsmWcdmaAcquisitionOrderPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_service_domain_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasServiceDomainPreference *service_domain_preference
,GError **error
);
Get the 'Service Domain Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasServiceDomainPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_network_selection_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasNetworkSelectionPreference *network_selection_preference
,GError **error
);
Get the 'Network Selection Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasNetworkSelectionPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_lte_band_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasLteBandPreference *lte_band_preference
,GError **error
);
Get the 'LTE Band Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasLteBandPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_roaming_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasRoamingPreference *roaming_preference
,GError **error
);
Get the 'Roaming Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasRoamingPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_cdma_prl_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasCdmaPrlPreference *cdma_prl_preference
,GError **error
);
Get the 'CDMA PRL Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasCdmaPrlPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_band_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasBandPreference *band_preference
,GError **error
);
Get the 'Band Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasBandPreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_mode_preference (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,QmiNasRatModePreference *mode_preference
,GError **error
);
Get the 'Mode Preference' field from self
.
|
a QmiMessageNasGetSystemSelectionPreferenceOutput. |
|
a placeholder for the output QmiNasRatModePreference, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_system_selection_preference_output_get_emergency_mode (QmiMessageNasGetSystemSelectionPreferenceOutput *self
,gboolean *emergency_mode
,GError **error
);
Get the 'Emergency mode' field from self
.
void qmi_client_nas_get_system_selection_preference (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get System Selection Preference 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_system_selection_preference_finish()
to get the result of the operation.
|
a QmiClientNas. |
|
NULL . This message doesn't have any input bundle. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
QmiMessageNasGetSystemSelectionPreferenceOutput * qmi_client_nas_get_system_selection_preference_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_system_selection_preference()
.
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_system_selection_preference() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageNasGetSystemSelectionPreferenceOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_get_system_selection_preference_output_unref() . |