Qmi.MessageNasSetTechnologyPreferenceInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageNasSetTechnologyPreferenceInput¶
The
Qmi.MessageNasSetTechnologyPreferenceInputstructure 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 withQmi.MessageNasSetTechnologyPreferenceInput.unref().- Return type:
Allocates a new
Qmi.MessageNasSetTechnologyPreferenceInput.New in version 1.0.
- get_current()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_current_technology_preference:
a placeholder for the output
Qmi.NasRadioTechnologyPreference, orNoneif not required.- value_current_technology_preference_duration:
a placeholder for the output
Qmi.NasPreferenceDuration, orNoneif 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:
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:
value_current_technology_preference (
Qmi.NasRadioTechnologyPreference) – aQmi.NasRadioTechnologyPreference.value_current_technology_preference_duration (
Qmi.NasPreferenceDuration) – aQmi.NasPreferenceDuration.
- Raises:
- Returns:
- Return type:
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.