Qmi.MessageGasDmsSetUsbCompositionInput

Fields

None

Methods

class

new ()

get_composition_persistence ()

get_endpoint_type ()

get_immediate_setting ()

get_reboot_after_setting ()

get_usb_composition ()

ref ()

set_composition_persistence (value_composition_persistence)

set_endpoint_type (value_endpoint_type)

set_immediate_setting (value_immediate_setting)

set_reboot_after_setting (value_reboot_after_setting)

set_usb_composition (value_usb_composition)

unref ()

Details

class Qmi.MessageGasDmsSetUsbCompositionInput

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

New in version 1.32.

classmethod new()
Returns:

the newly created Qmi.MessageGasDmsSetUsbCompositionInput. The returned value should be freed with Qmi.MessageGasDmsSetUsbCompositionInput.unref().

Return type:

Qmi.MessageGasDmsSetUsbCompositionInput

Allocates a new Qmi.MessageGasDmsSetUsbCompositionInput.

New in version 1.32.

get_composition_persistence()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_composition_persistence:

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

Return type:

(bool, value_composition_persistence: bool)

Get the ‘Composition Persistence’ field from self.

New in version 1.32.

get_endpoint_type()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_endpoint_type:

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

Return type:

(bool, value_endpoint_type: Qmi.GasUsbCompositionEndpointType)

Get the ‘Endpoint Type’ field from self.

New in version 1.32.

get_immediate_setting()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_immediate_setting:

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

Return type:

(bool, value_immediate_setting: bool)

Get the ‘Immediate Setting’ field from self.

New in version 1.32.

get_reboot_after_setting()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_reboot_after_setting:

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

Return type:

(bool, value_reboot_after_setting: bool)

Get the ‘Reboot After Setting’ field from self.

New in version 1.32.

get_usb_composition()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_usb_composition:

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

Return type:

(bool, value_usb_composition: int)

Get the ‘USB Composition’ field from self.

New in version 1.32.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageGasDmsSetUsbCompositionInput

Atomically increments the reference count of self by one.

New in version 1.32.

set_composition_persistence(value_composition_persistence)
Parameters:

value_composition_persistence (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Composition Persistence’ field in the message.

New in version 1.32.

set_endpoint_type(value_endpoint_type)
Parameters:

value_endpoint_type (Qmi.GasUsbCompositionEndpointType) – a Qmi.GasUsbCompositionEndpointType.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Endpoint Type’ field in the message.

New in version 1.32.

set_immediate_setting(value_immediate_setting)
Parameters:

value_immediate_setting (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Immediate Setting’ field in the message.

New in version 1.32.

set_reboot_after_setting(value_reboot_after_setting)
Parameters:

value_reboot_after_setting (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Reboot After Setting’ field in the message.

New in version 1.32.

set_usb_composition(value_usb_composition)
Parameters:

value_usb_composition (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘USB Composition’ field in the message.

New in version 1.32.

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.32.