Qmi.MessageNasSetPreferredNetworksInput

Fields

None

Methods

class

new ()

get_clear_previous_preferred_networks ()

get_mnc_pcs_digit_include_status ()

get_preferred_networks ()

ref ()

set_clear_previous_preferred_networks (value_clear_previous_preferred_networks)

set_mnc_pcs_digit_include_status (value_mnc_pcs_digit_include_status_ptr)

set_preferred_networks (value_preferred_networks_ptr)

unref ()

Details

class Qmi.MessageNasSetPreferredNetworksInput

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

New in version 1.30.

classmethod new()
Returns:

the newly created Qmi.MessageNasSetPreferredNetworksInput. The returned value should be freed with Qmi.MessageNasSetPreferredNetworksInput.unref().

Return type:

Qmi.MessageNasSetPreferredNetworksInput

Allocates a new Qmi.MessageNasSetPreferredNetworksInput.

New in version 1.30.

get_clear_previous_preferred_networks()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_clear_previous_preferred_networks:

a placeholder for the output bool, or None if not required.

Return type:

(bool, value_clear_previous_preferred_networks: bool)

Get the ‘Clear Previous Preferred Networks’ field from self.

New in version 1.30.

get_mnc_pcs_digit_include_status()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_mnc_pcs_digit_include_status_ptr:

a placeholder for the output array of Qmi.MessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement elements, or None if not required. Do not free or modify it, it is owned by self.

Return type:

(bool, value_mnc_pcs_digit_include_status_ptr: [Qmi.MessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement])

Get the ‘MNC PCS Digit Include Status’ field from self.

Version of Qmi.MessageNasSetPreferredNetworksInput.get_mnc_pcs_digit_include_status() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

New in version 1.32.

get_preferred_networks()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_preferred_networks_ptr:

a placeholder for the output array of Qmi.MessageNasSetPreferredNetworksInputPreferredNetworksElement elements, or None if not required. Do not free or modify it, it is owned by self.

Return type:

(bool, value_preferred_networks_ptr: [Qmi.MessageNasSetPreferredNetworksInputPreferredNetworksElement])

Get the ‘Preferred Networks’ field from self.

Version of Qmi.MessageNasSetPreferredNetworksInput.get_preferred_networks() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

New in version 1.32.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageNasSetPreferredNetworksInput

Atomically increments the reference count of self by one.

New in version 1.30.

set_clear_previous_preferred_networks(value_clear_previous_preferred_networks)
Parameters:

value_clear_previous_preferred_networks (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Clear Previous Preferred Networks’ field in the message.

New in version 1.30.

set_mnc_pcs_digit_include_status(value_mnc_pcs_digit_include_status_ptr)
Parameters:

value_mnc_pcs_digit_include_status_ptr ([Qmi.MessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement]) – array of Qmi.MessageNasSetPreferredNetworksInputMncPcsDigitIncludeStatusElement elements. The contents of the given array will be copied, the GLib.PtrArray will not increase its reference count.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘MNC PCS Digit Include Status’ field in the message.

New in version 1.32.

set_preferred_networks(value_preferred_networks_ptr)
Parameters:

value_preferred_networks_ptr ([Qmi.MessageNasSetPreferredNetworksInputPreferredNetworksElement]) – array of Qmi.MessageNasSetPreferredNetworksInputPreferredNetworksElement elements. The contents of the given array will be copied, the GLib.PtrArray will not increase its reference count.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Preferred Networks’ field in the message.

New in version 1.32.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

New in version 1.30.