Qmi.MessageDmsFoxconnChangeDeviceModeInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageDmsFoxconnChangeDeviceModeInput¶
The
Qmi.MessageDmsFoxconnChangeDeviceModeInput
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.MessageDmsFoxconnChangeDeviceModeInput
. The returned value should be freed withQmi.MessageDmsFoxconnChangeDeviceModeInput.unref
().- Return type:
Allocates a new
Qmi.MessageDmsFoxconnChangeDeviceModeInput
.New in version 1.26.
- get_mode()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_mode:
a placeholder for the output
Qmi.DmsFoxconnDeviceMode
, orNone
if not required.
- Return type:
(
bool
, value_mode:Qmi.DmsFoxconnDeviceMode
)
Get the ‘Mode’ 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_mode(value_mode)¶
- Parameters:
value_mode (
Qmi.DmsFoxconnDeviceMode
) – aQmi.DmsFoxconnDeviceMode
.- Raises:
- Returns:
- Return type:
Set the ‘Mode’ 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.