Qmi.ClientAtr

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

send_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

received

The ::received signal gets emitted when a ‘’Received [libqmi-glib-ATR-Received-indication.top_of_page]’’ indication is received.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientAtr(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientAtrClass

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

New in version 1.34.

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

Asynchronously sends a Send 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.ClientAtr.send_finish() to get the result of the operation.

New in version 1.34.

send_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientAtr.send().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageAtrSendOutput

Finishes an async operation started with Qmi.ClientAtr.send().

New in version 1.34.

Signal Details

Qmi.ClientAtr.signals.received(client_atr, output)
Signal Name:

received

Flags:

RUN_LAST

Parameters:

The ::received signal gets emitted when a ‘’Received [libqmi-glib-ATR-Received-indication.top_of_page]’’ indication is received.

New in version 1.34.