Qmi.MessageLocSetOperationModeInput

Fields

None

Methods

class

new ()

get_operation_mode ()

ref ()

set_operation_mode (value_operation_mode)

unref ()

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 with Qmi.MessageLocSetOperationModeInput.unref().

Return type:

Qmi.MessageLocSetOperationModeInput

Allocates a new Qmi.MessageLocSetOperationModeInput.

New in version 1.22.

get_operation_mode()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_operation_mode:

a placeholder for the output Qmi.LocOperationMode, or None 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:

Qmi.MessageLocSetOperationModeInput

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) – a Qmi.LocOperationMode.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

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.