Qmi.ClientPbm

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

get_all_capabilities_finish (res)

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

get_capabilities_finish (res)

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

indication_register_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.ClientPbm(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientPbmClass

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

New in version 1.6.

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

Asynchronously sends a Get All Capabilities 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.ClientPbm.get_all_capabilities_finish() to get the result of the operation.

New in version 1.6.

get_all_capabilities_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPbm.get_all_capabilities().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePbmGetAllCapabilitiesOutput

Finishes an async operation started with Qmi.ClientPbm.get_all_capabilities().

New in version 1.6.

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

Asynchronously sends a Get Capabilities 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.ClientPbm.get_capabilities_finish() to get the result of the operation.

New in version 1.6.

get_capabilities_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPbm.get_capabilities().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePbmGetCapabilitiesOutput

Finishes an async operation started with Qmi.ClientPbm.get_capabilities().

New in version 1.6.

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

Asynchronously sends a Indication Register 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.ClientPbm.indication_register_finish() to get the result of the operation.

New in version 1.6.

indication_register_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPbm.indication_register().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePbmIndicationRegisterOutput

Finishes an async operation started with Qmi.ClientPbm.indication_register().

New in version 1.6.