Qmi.MessageDmsGetOperatingModeOutput

Fields

None

Methods

get_hardware_restricted_mode ()

get_mode ()

get_offline_reason ()

get_result ()

ref ()

unref ()

Details

class Qmi.MessageDmsGetOperatingModeOutput

The Qmi.MessageDmsGetOperatingModeOutput structure contains private data and should only be accessed using the provided API.

New in version 1.0.

get_hardware_restricted_mode()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_hardware_restricted_mode:

a placeholder for the output bool, or None if not required.

Return type:

(bool, value_hardware_restricted_mode: bool)

Get the ‘Hardware Restricted Mode’ field from self.

New in version 1.0.

get_mode()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_mode:

a placeholder for the output Qmi.DmsOperatingMode, or None if not required.

Return type:

(bool, value_mode: Qmi.DmsOperatingMode)

Get the ‘Mode’ field from self.

New in version 1.0.

get_offline_reason()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_offline_reason:

a placeholder for the output Qmi.DmsOfflineReason, or None if not required.

Return type:

(bool, value_offline_reason: Qmi.DmsOfflineReason)

Get the ‘Offline Reason’ field from self.

New in version 1.0.

get_result()
Raises:

GLib.Error

Returns:

True if the QMI operation succeeded, False if error is set.

Return type:

bool

Get the result of the QMI operation.

New in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsGetOperatingModeOutput

Atomically increments the reference count of self by one.

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.