Qmi.MessageDmsHpChangeDeviceModeInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageDmsHpChangeDeviceModeInput¶
The
Qmi.MessageDmsHpChangeDeviceModeInput
structure contains private data and should only be accessed using the provided API.New in version 1.18.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageDmsHpChangeDeviceModeInput
. The returned value should be freed withQmi.MessageDmsHpChangeDeviceModeInput.unref
().- Return type:
Allocates a new
Qmi.MessageDmsHpChangeDeviceModeInput
.New in version 1.18.
- get_mode()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_mode:
a placeholder for the output
Qmi.DmsHpDeviceMode
, orNone
if not required.
- Return type:
(
bool
, value_mode:Qmi.DmsHpDeviceMode
)
Get the ‘Mode’ field from self.
New in version 1.18.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.18.
- set_mode(value_mode)¶
- Parameters:
value_mode (
Qmi.DmsHpDeviceMode
) – aQmi.DmsHpDeviceMode
.- Raises:
- Returns:
- Return type:
Set the ‘Mode’ field in the message.
New in version 1.18.
- 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.18.