Qmi.MessageDsdSetApnTypeInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageDsdSetApnTypeInput¶
The
Qmi.MessageDsdSetApnTypeInput
structure contains private data and should only be accessed using the provided API.New in version 1.26.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageDsdSetApnTypeInput
. The returned value should be freed withQmi.MessageDsdSetApnTypeInput.unref
().- Return type:
Allocates a new
Qmi.MessageDsdSetApnTypeInput
.New in version 1.26.
- get_apn_type()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_apn_type_name:
a placeholder for the output constant string, or
None
if not required.- value_apn_type_type:
a placeholder for the output
Qmi.DsdApnTypePreference
, orNone
if not required.
- Return type:
(
bool
, value_apn_type_name:str
, value_apn_type_type:Qmi.DsdApnTypePreference
)
Get the ‘APN Type’ field from self.
New in version 1.26.
- get_apn_type_preference_mask()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_apn_type_preference_mask:
a placeholder for the output
Qmi.DsdApnTypePreference
, orNone
if not required.
- Return type:
(
bool
, value_apn_type_preference_mask:Qmi.DsdApnTypePreference
)
Get the ‘APN Type Preference Mask’ field from self.
New in version 1.26.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.26.
- set_apn_type(value_apn_type_name, value_apn_type_type)¶
- Parameters:
value_apn_type_name (
str
) – a constant string.value_apn_type_type (
Qmi.DsdApnTypePreference
) – aQmi.DsdApnTypePreference
.
- Raises:
- Returns:
- Return type:
Set the ‘APN Type’ field in the message.
New in version 1.26.
- set_apn_type_preference_mask(value_apn_type_preference_mask)¶
- Parameters:
value_apn_type_preference_mask (
Qmi.DsdApnTypePreference
) – aQmi.DsdApnTypePreference
.- Raises:
- Returns:
- Return type:
Set the ‘APN Type Preference Mask’ field in the message.
New in version 1.26.
- 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.26.