Qmi.ClientWda

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

get_data_format_finish (res)

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

get_supported_messages_finish (res)

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

set_data_format_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.ClientWda(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientWdaClass

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

New in version 1.10.

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

Asynchronously sends a Get Data Format 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.ClientWda.get_data_format_finish() to get the result of the operation.

New in version 1.10.

get_data_format_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientWda.get_data_format().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageWdaGetDataFormatOutput

Finishes an async operation started with Qmi.ClientWda.get_data_format().

New in version 1.10.

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

Asynchronously sends a Get Supported Messages 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.ClientWda.get_supported_messages_finish() to get the result of the operation.

New in version 1.14.

get_supported_messages_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientWda.get_supported_messages().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageWdaGetSupportedMessagesOutput

Finishes an async operation started with Qmi.ClientWda.get_supported_messages().

New in version 1.14.

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

Asynchronously sends a Set Data Format 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.ClientWda.set_data_format_finish() to get the result of the operation.

New in version 1.10.

set_data_format_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientWda.set_data_format().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageWdaSetDataFormatOutput

Finishes an async operation started with Qmi.ClientWda.set_data_format().

New in version 1.10.