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