Qmi.MessageDmsSetOperatingModeInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageDmsSetOperatingModeInput¶
The
Qmi.MessageDmsSetOperatingModeInputstructure contains private data and should only be accessed using the provided API.New in version 1.0.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageDmsSetOperatingModeInput. The returned value should be freed withQmi.MessageDmsSetOperatingModeInput.unref().- Return type:
Allocates a new
Qmi.MessageDmsSetOperatingModeInput.New in version 1.0.
- get_mode()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_mode:
a placeholder for the output
Qmi.DmsOperatingMode, orNoneif not required.
- Return type:
(
bool, value_mode:Qmi.DmsOperatingMode)
Get the ‘Mode’ 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_mode(value_mode)¶
- Parameters:
value_mode (
Qmi.DmsOperatingMode) – aQmi.DmsOperatingMode.- Raises:
- Returns:
- Return type:
Set the ‘Mode’ 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.