Qmi.ClientSar¶
- 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.ClientSar(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientSarstructure contains private data and should only be accessed using the provided API.New in version 1.28.
- rf_get_state(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.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 RF Get State 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.ClientSar.rf_get_state_finish() to get the result of the operation.New in version 1.28.
- rf_get_state_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientSar.rf_get_state().- Raises:
- Returns:
a
Qmi.MessageSarRfGetStateOutput, orNoneif error is set. The returned value should be freed withQmi.MessageSarRfGetStateOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientSar.rf_get_state().New in version 1.28.
- rf_set_state(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageSarRfSetStateInput) – aQmi.MessageSarRfSetStateInput.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 RF Set State 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.ClientSar.rf_set_state_finish() to get the result of the operation.New in version 1.28.
- rf_set_state_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientSar.rf_set_state().- Raises:
- Returns:
a
Qmi.MessageSarRfSetStateOutput, orNoneif error is set. The returned value should be freed withQmi.MessageSarRfSetStateOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientSar.rf_set_state().New in version 1.28.