libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageNasSetSystemSelectionPreferenceInput; QmiMessageNasSetSystemSelectionPreferenceOutput; QmiMessageNasSetSystemSelectionPreferenceInput * qmi_message_nas_set_system_selection_preference_input_new (void
); QmiMessageNasSetSystemSelectionPreferenceInput * qmi_message_nas_set_system_selection_preference_input_ref (QmiMessageNasSetSystemSelectionPreferenceInput *self
); void qmi_message_nas_set_system_selection_preference_input_unref (QmiMessageNasSetSystemSelectionPreferenceInput *self
); gboolean qmi_message_nas_set_system_selection_preference_input_get_td_scdma_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasTdScdmaBandPreference *td_scdma_band_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_td_scdma_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasTdScdmaBandPreference td_scdma_band_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean *mnc_pds_digit_include_status
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_mnc_pds_digit_include_status (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean mnc_pds_digit_include_status
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_gsm_wcdma_acquisition_order_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasGsmWcdmaAcquisitionOrderPreference *gsm_wcdma_acquisition_order_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasGsmWcdmaAcquisitionOrderPreference gsm_wcdma_acquisition_order_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_service_domain_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasServiceDomainPreference *service_domain_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_service_domain_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasServiceDomainPreference service_domain_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_change_duration (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasChangeDuration *change_duration
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_change_duration (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasChangeDuration change_duration
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_network_selection_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasNetworkSelectionPreference *network_selection_preference_mode
,guint16 *network_selection_preference_mcc
,guint16 *network_selection_preference_mnc
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_network_selection_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasNetworkSelectionPreference network_selection_preference_mode
,guint16 network_selection_preference_mcc
,guint16 network_selection_preference_mnc
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_lte_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasLteBandPreference *lte_band_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_lte_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasLteBandPreference lte_band_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_roaming_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRoamingPreference *roaming_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_roaming_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRoamingPreference roaming_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_cdma_prl_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasCdmaPrlPreference *cdma_prl_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_cdma_prl_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasCdmaPrlPreference cdma_prl_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasBandPreference *band_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasBandPreference band_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_mode_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRatModePreference *mode_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_mode_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRatModePreference mode_preference
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_get_emergency_mode (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean *emergency_mode
,GError **error
); gboolean qmi_message_nas_set_system_selection_preference_input_set_emergency_mode (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean emergency_mode
,GError **error
); QmiMessageNasSetSystemSelectionPreferenceOutput * qmi_message_nas_set_system_selection_preference_output_ref (QmiMessageNasSetSystemSelectionPreferenceOutput *self
); void qmi_message_nas_set_system_selection_preference_output_unref (QmiMessageNasSetSystemSelectionPreferenceOutput *self
); gboolean qmi_message_nas_set_system_selection_preference_output_get_result (QmiMessageNasSetSystemSelectionPreferenceOutput *self
,GError **error
); void qmi_client_nas_set_system_selection_preference (QmiClientNas *self
,QmiMessageNasSetSystemSelectionPreferenceInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageNasSetSystemSelectionPreferenceOutput * qmi_client_nas_set_system_selection_preference_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessageNasSetSystemSelectionPreferenceInput
GBoxed +----QmiMessageNasSetSystemSelectionPreferenceOutput
typedef struct _QmiMessageNasSetSystemSelectionPreferenceInput QmiMessageNasSetSystemSelectionPreferenceInput;
The QmiMessageNasSetSystemSelectionPreferenceInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageNasSetSystemSelectionPreferenceOutput QmiMessageNasSetSystemSelectionPreferenceOutput;
The QmiMessageNasSetSystemSelectionPreferenceOutput structure contains private data and should only be accessed using the provided API.
QmiMessageNasSetSystemSelectionPreferenceInput * qmi_message_nas_set_system_selection_preference_input_new
(void
);
Allocates a new QmiMessageNasSetSystemSelectionPreferenceInput.
Returns : |
the newly created QmiMessageNasSetSystemSelectionPreferenceInput. The returned value should be freed with qmi_message_nas_set_system_selection_preference_input_unref() . |
QmiMessageNasSetSystemSelectionPreferenceInput * qmi_message_nas_set_system_selection_preference_input_ref
(QmiMessageNasSetSystemSelectionPreferenceInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
Returns : |
the new reference to self . |
void qmi_message_nas_set_system_selection_preference_input_unref
(QmiMessageNasSetSystemSelectionPreferenceInput *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_set_system_selection_preference_input_get_td_scdma_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasTdScdmaBandPreference *td_scdma_band_preference
,GError **error
);
Get the 'TD SCDMA Band Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_td_scdma_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasTdScdmaBandPreference td_scdma_band_preference
,GError **error
);
Set the 'TD SCDMA Band Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasTdScdmaBandPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean *mnc_pds_digit_include_status
,GError **error
);
Get the 'MNC PDS Digit Include Status' field from self
.
gboolean qmi_message_nas_set_system_selection_preference_input_set_mnc_pds_digit_include_status (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean mnc_pds_digit_include_status
,GError **error
);
Set the 'MNC PDS Digit Include Status' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_gsm_wcdma_acquisition_order_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasGsmWcdmaAcquisitionOrderPreference *gsm_wcdma_acquisition_order_preference
,GError **error
);
Get the 'GSM WCDMA Acquisition Order Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasGsmWcdmaAcquisitionOrderPreference gsm_wcdma_acquisition_order_preference
,GError **error
);
Set the 'GSM WCDMA Acquisition Order Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasGsmWcdmaAcquisitionOrderPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_service_domain_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasServiceDomainPreference *service_domain_preference
,GError **error
);
Get the 'Service Domain Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_service_domain_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasServiceDomainPreference service_domain_preference
,GError **error
);
Set the 'Service Domain Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasServiceDomainPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_change_duration (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasChangeDuration *change_duration
,GError **error
);
Get the 'Change Duration' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a placeholder for the output QmiNasChangeDuration, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_set_change_duration (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasChangeDuration change_duration
,GError **error
);
Set the 'Change Duration' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasChangeDuration. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_network_selection_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasNetworkSelectionPreference *network_selection_preference_mode
,guint16 *network_selection_preference_mcc
,guint16 *network_selection_preference_mnc
,GError **error
);
Get the 'Network Selection Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a placeholder for the output QmiNasNetworkSelectionPreference, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_set_network_selection_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasNetworkSelectionPreference network_selection_preference_mode
,guint16 network_selection_preference_mcc
,guint16 network_selection_preference_mnc
,GError **error
);
Set the 'Network Selection Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasNetworkSelectionPreference. |
|
a guint16. |
|
a guint16. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_lte_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasLteBandPreference *lte_band_preference
,GError **error
);
Get the 'LTE Band Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_lte_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasLteBandPreference lte_band_preference
,GError **error
);
Set the 'LTE Band Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasLteBandPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_roaming_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRoamingPreference *roaming_preference
,GError **error
);
Get the 'Roaming Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_roaming_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRoamingPreference roaming_preference
,GError **error
);
Set the 'Roaming Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasRoamingPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_cdma_prl_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasCdmaPrlPreference *cdma_prl_preference
,GError **error
);
Get the 'CDMA PRL Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_cdma_prl_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasCdmaPrlPreference cdma_prl_preference
,GError **error
);
Set the 'CDMA PRL Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasCdmaPrlPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasBandPreference *band_preference
,GError **error
);
Get the 'Band Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_band_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasBandPreference band_preference
,GError **error
);
Set the 'Band Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasBandPreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_mode_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRatModePreference *mode_preference
,GError **error
);
Get the 'Mode Preference' field from self
.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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_set_system_selection_preference_input_set_mode_preference (QmiMessageNasSetSystemSelectionPreferenceInput *self
,QmiNasRatModePreference mode_preference
,GError **error
);
Set the 'Mode Preference' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a QmiNasRatModePreference. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_nas_set_system_selection_preference_input_get_emergency_mode (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean *emergency_mode
,GError **error
);
Get the 'Emergency mode' field from self
.
gboolean qmi_message_nas_set_system_selection_preference_input_set_emergency_mode (QmiMessageNasSetSystemSelectionPreferenceInput *self
,gboolean emergency_mode
,GError **error
);
Set the 'Emergency mode' field in the message.
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
a gboolean. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageNasSetSystemSelectionPreferenceOutput * qmi_message_nas_set_system_selection_preference_output_ref
(QmiMessageNasSetSystemSelectionPreferenceOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasSetSystemSelectionPreferenceOutput. |
Returns : |
the new reference to self . |
void qmi_message_nas_set_system_selection_preference_output_unref
(QmiMessageNasSetSystemSelectionPreferenceOutput *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_set_system_selection_preference_output_get_result (QmiMessageNasSetSystemSelectionPreferenceOutput *self
,GError **error
);
Get the result of the QMI operation.
void qmi_client_nas_set_system_selection_preference (QmiClientNas *self
,QmiMessageNasSetSystemSelectionPreferenceInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Set 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_set_system_selection_preference_finish()
to get the result of the operation.
|
a QmiClientNas. |
|
a QmiMessageNasSetSystemSelectionPreferenceInput. |
|
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 . |
QmiMessageNasSetSystemSelectionPreferenceOutput * qmi_client_nas_set_system_selection_preference_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_set_system_selection_preference()
.
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_set_system_selection_preference() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageNasSetSystemSelectionPreferenceOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_set_system_selection_preference_output_unref() . |