Qmi.ClientWda¶
- 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.ClientWda(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
input (
Qmi.MessageWdaGetDataFormatInput
) – aQmi.MessageWdaGetDataFormatInput
.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWda.get_data_format
().- Raises:
- Returns:
a
Qmi.MessageWdaGetDataFormatOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaGetDataFormatOutput.unref
().- Return type:
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:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWda.get_supported_messages
().- Raises:
- Returns:
a
Qmi.MessageWdaGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaGetSupportedMessagesOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWda.get_supported_messages
().New in version 1.14.
- loopback_configuration(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWdaLoopbackConfigurationInput
) – aQmi.MessageWdaLoopbackConfigurationInput
.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 Loopback Configuration 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.loopback_configuration_finish
() to get the result of the operation.New in version 1.36.
- loopback_configuration_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWda.loopback_configuration
().- Raises:
- Returns:
a
Qmi.MessageWdaLoopbackConfigurationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaLoopbackConfigurationOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWda.loopback_configuration
().New in version 1.36.
- set_data_format(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageWdaSetDataFormatInput
) – aQmi.MessageWdaSetDataFormatInput
.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientWda.set_data_format
().- Raises:
- Returns:
a
Qmi.MessageWdaSetDataFormatOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaSetDataFormatOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientWda.set_data_format
().New in version 1.10.
Signal Details¶
- Qmi.ClientWda.signals.loopback_configuration(client_wda, output)¶
- Signal Name:
loopback-configuration
- Flags:
- Parameters:
client_wda (
Qmi.ClientWda
) – The object which received the signaloutput (
Qmi.IndicationWdaLoopbackConfigurationOutput
) – AQmi.IndicationWdaLoopbackConfigurationOutput
.
The
::loopback-configuration
signal gets emitted when a ‘’Loopback Configuration [libqmi-glib-WDA-Loopback-Configuration-indication.top_of_page]’’ indication is received.New in version 1.36.