Qmi.ClientSar

g GObject.Object GObject.Object Qmi.Client Qmi.Client GObject.Object->Qmi.Client Qmi.ClientSar Qmi.ClientSar Qmi.Client->Qmi.ClientSar

Subclasses:

None

Methods

Inherited:

Qmi.Client (8), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

rf_get_state (unused, timeout, cancellable, callback, *user_data)

rf_get_state_finish (res)

rf_set_state (input, timeout, cancellable, callback, *user_data)

rf_set_state_finish (res)

Virtual Methods

Inherited:

Qmi.Client (1), GObject.Object (7)

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientSar(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientSarClass

The Qmi.ClientSar structure 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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientSar.rf_get_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageSarRfGetStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageSarRfGetStateOutput.unref().

Return type:

Qmi.MessageSarRfGetStateOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientSar.rf_set_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageSarRfSetStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageSarRfSetStateOutput.unref().

Return type:

Qmi.MessageSarRfSetStateOutput

Finishes an async operation started with Qmi.ClientSar.rf_set_state().

New in version 1.28.