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.ClientAtrstructure 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.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientAtr.send().- Raises:
- Returns:
a
Qmi.MessageAtrSendOutput, orNoneif 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
::receivedsignal gets emitted when a ‘’Received [libqmi-glib-ATR-Received-indication.top_of_page]’’ indication is received.New in version 1.34.