Qmi.ClientAtr¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientAtr(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
input (
Qmi.MessageAtrSendInput
) – aQmi.MessageAtrSendInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientAtr.send
().- Raises:
- Returns:
a
Qmi.MessageAtrSendOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageAtrSendOutput.unref
().- Return type:
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:
- Parameters:
client_atr (
Qmi.ClientAtr
) – The object which received the signaloutput (
Qmi.IndicationAtrReceivedOutput
) – AQmi.IndicationAtrReceivedOutput
.
The
::received
signal gets emitted when a ‘’Received [libqmi-glib-ATR-Received-indication.top_of_page]’’ indication is received.New in version 1.34.