Qmi.ClientGas

g GObject.Object GObject.Object Qmi.Client Qmi.Client GObject.Object->Qmi.Client Qmi.ClientGas Qmi.ClientGas Qmi.Client->Qmi.ClientGas

Subclasses:

None

Methods

Inherited:

Qmi.Client (8), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dms_get_firmware_list (input, timeout, cancellable, callback, *user_data)

dms_get_firmware_list_finish (res)

dms_get_usb_composition (unused, timeout, cancellable, callback, *user_data)

dms_get_usb_composition_finish (res)

dms_set_active_firmware (input, timeout, cancellable, callback, *user_data)

dms_set_active_firmware_finish (res)

dms_set_usb_composition (input, timeout, cancellable, callback, *user_data)

dms_set_usb_composition_finish (res)

Virtual Methods

Inherited:

Qmi.Client (1), GObject.Object (7)

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientGas(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientGasClass

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

New in version 1.24.

dms_get_firmware_list(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a DMS Get Firmware List request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientGas.dms_get_firmware_list_finish() to get the result of the operation.

New in version 1.24.

dms_get_firmware_list_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientGas.dms_get_firmware_list().

Raises:

GLib.Error

Returns:

a Qmi.MessageGasDmsGetFirmwareListOutput, or None if error is set. The returned value should be freed with Qmi.MessageGasDmsGetFirmwareListOutput.unref().

Return type:

Qmi.MessageGasDmsGetFirmwareListOutput

Finishes an async operation started with Qmi.ClientGas.dms_get_firmware_list().

New in version 1.24.

dms_get_usb_composition(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a DMS Get USB Composition request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientGas.dms_get_usb_composition_finish() to get the result of the operation.

New in version 1.32.

dms_get_usb_composition_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientGas.dms_get_usb_composition().

Raises:

GLib.Error

Returns:

a Qmi.MessageGasDmsGetUsbCompositionOutput, or None if error is set. The returned value should be freed with Qmi.MessageGasDmsGetUsbCompositionOutput.unref().

Return type:

Qmi.MessageGasDmsGetUsbCompositionOutput

Finishes an async operation started with Qmi.ClientGas.dms_get_usb_composition().

New in version 1.32.

dms_set_active_firmware(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a DMS Set Active Firmware request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientGas.dms_set_active_firmware_finish() to get the result of the operation.

New in version 1.24.

dms_set_active_firmware_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientGas.dms_set_active_firmware().

Raises:

GLib.Error

Returns:

a Qmi.MessageGasDmsSetActiveFirmwareOutput, or None if error is set. The returned value should be freed with Qmi.MessageGasDmsSetActiveFirmwareOutput.unref().

Return type:

Qmi.MessageGasDmsSetActiveFirmwareOutput

Finishes an async operation started with Qmi.ClientGas.dms_set_active_firmware().

New in version 1.24.

dms_set_usb_composition(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a DMS Set USB Composition request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientGas.dms_set_usb_composition_finish() to get the result of the operation.

New in version 1.32.

dms_set_usb_composition_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientGas.dms_set_usb_composition().

Raises:

GLib.Error

Returns:

a Qmi.MessageGasDmsSetUsbCompositionOutput, or None if error is set. The returned value should be freed with Qmi.MessageGasDmsSetUsbCompositionOutput.unref().

Return type:

Qmi.MessageGasDmsSetUsbCompositionOutput

Finishes an async operation started with Qmi.ClientGas.dms_set_usb_composition().

New in version 1.32.