NAS Get System Selection Preference

## NAS Get System Selection Preference NAS Get System Selection Preference |

## Synopsis

                        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);

## Object Hierarchy

      GBoxed
       +----QmiMessageNasGetSystemSelectionPreferenceOutput

## Description

## Details

### QmiMessageNasGetSystemSelectionPreferenceOutput

    typedef struct _QmiMessageNasGetSystemSelectionPreferenceOutput QmiMessageNasGetSystemSelectionPreferenceOutput;

The QmiMessageNasGetSystemSelectionPreferenceOutput structure contains private data and should only be accessed using the provided API.

### qmi_message_nas_get_system_selection_preference_output_ref ()

    QmiMessageNasGetSystemSelectionPreferenceOutput * qmi_message_nas_get_system_selection_preference_output_ref
                                                            (QmiMessageNasGetSystemSelectionPreferenceOutput *self);

Atomically increments the reference count of `self` by one.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
Returns : | the new reference to `self`.

### qmi_message_nas_get_system_selection_preference_output_unref ()

    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.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.

### qmi_message_nas_get_system_selection_preference_output_get_result ()

    gboolean            qmi_message_nas_get_system_selection_preference_output_get_result
                                                            (QmiMessageNasGetSystemSelectionPreferenceOutput *self,
                                                             GError **error);

Get the result of the QMI operation.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the QMI operation succeeded, `FALSE` if `error` is set.

### qmi_message_nas_get_system_selection_preference_output_get_manual_network_selection ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`manual_network_selection_mcc` : | a placeholder for the output guint16, or `NULL` if not required.
`manual_network_selection_mnc` : | a placeholder for the output guint16, or `NULL` if not required.
`manual_network_selection_includes_pcs_digit` : | a placeholder for the output gboolean, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_td_scdma_band_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`td_scdma_band_preference` : | a placeholder for the output QmiNasTdScdmaBandPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_gsm_wcdma_acquisition_order_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`gsm_wcdma_acquisition_order_preference` : | a placeholder for the output QmiNasGsmWcdmaAcquisitionOrderPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_service_domain_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`service_domain_preference` : | a placeholder for the output QmiNasServiceDomainPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_network_selection_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`network_selection_preference` : | a placeholder for the output QmiNasNetworkSelectionPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_lte_band_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`lte_band_preference` : | a placeholder for the output QmiNasLteBandPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_roaming_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`roaming_preference` : | a placeholder for the output QmiNasRoamingPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_cdma_prl_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`cdma_prl_preference` : | a placeholder for the output QmiNasCdmaPrlPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_band_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`band_preference` : | a placeholder for the output QmiNasBandPreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_mode_preference ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`mode_preference` : | a placeholder for the output QmiNasRatModePreference, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_message_nas_get_system_selection_preference_output_get_emergency_mode ()

    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`.

`self` : | a QmiMessageNasGetSystemSelectionPreferenceOutput.
`emergency_mode` : | a placeholder for the output gboolean, or `NULL` if not required.
`error` : | Return location for error or `NULL`.
Returns : | `TRUE` if the field is found, `FALSE` otherwise.

### qmi_client_nas_get_system_selection_preference ()

    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.

`self` : | a QmiClientNas.
`unused` : | `NULL`. This message doesn't have any input bundle.
`timeout` : | maximum time to wait for the method to complete, in seconds.
`cancellable` : | a GCancellable or `NULL`.
`callback` : | a GAsyncReadyCallback to call when the request is satisfied.
`user_data` : | user data to pass to `callback`.

### qmi_client_nas_get_system_selection_preference_finish ()

    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()`.

`self` : | a QmiClientNas.
`res` : | the GAsyncResult obtained from the GAsyncReadyCallback passed to `qmi_client_nas_get_system_selection_preference()`.
`error` : | 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()`.