Qmi.MessageNasSetTechnologyPreferenceInput

Fields

None

Methods

class new ()
  get_current ()
  ref ()
  set_current (value_current_technology_preference, value_current_technology_preference_duration)
  unref ()

Details

class Qmi.MessageNasSetTechnologyPreferenceInput

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

New in version 1.0.

classmethod new()
Returns:the newly created Qmi.MessageNasSetTechnologyPreferenceInput. The returned value should be freed with Qmi.MessageNasSetTechnologyPreferenceInput.unref().
Return type:Qmi.MessageNasSetTechnologyPreferenceInput

Allocates a new Qmi.MessageNasSetTechnologyPreferenceInput.

New in version 1.0.

get_current()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_current_technology_preference:
 a placeholder for the output Qmi.NasRadioTechnologyPreference, or None if not required.
value_current_technology_preference_duration:
 a placeholder for the output Qmi.NasPreferenceDuration, or None if not required.
Return type:(bool, value_current_technology_preference: Qmi.NasRadioTechnologyPreference, value_current_technology_preference_duration: Qmi.NasPreferenceDuration)

Get the ‘Current’ field from self.

New in version 1.0.

ref()
Returns:the new reference to self.
Return type:Qmi.MessageNasSetTechnologyPreferenceInput

Atomically increments the reference count of self by one.

New in version 1.0.

set_current(value_current_technology_preference, value_current_technology_preference_duration)
Parameters:
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Current’ field in the message.

New in version 1.0.

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