Qmi.ClientGms¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientGms(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientGms
structure contains private data and should only be accessed using the provided API.New in version 1.26.
- test_get_value(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 Test Get Value 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.ClientGms.test_get_value_finish
() to get the result of the operation.New in version 1.26.
- test_get_value_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientGms.test_get_value
().- Raises:
- Returns:
a
Qmi.MessageGmsTestGetValueOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGmsTestGetValueOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientGms.test_get_value
().New in version 1.26.
- test_set_value(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageGmsTestSetValueInput
) – aQmi.MessageGmsTestSetValueInput
.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 Test Set Value 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.ClientGms.test_set_value_finish
() to get the result of the operation.New in version 1.26.
- test_set_value_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientGms.test_set_value
().- Raises:
- Returns:
a
Qmi.MessageGmsTestSetValueOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGmsTestSetValueOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientGms.test_set_value
().New in version 1.26.