Qmi.ClientOma

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

cancel_session_finish (res)

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

get_feature_setting_finish (res)

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

get_session_info_finish (res)

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

reset_finish (res)

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

send_selection_finish (res)

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

set_event_report_finish (res)

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

set_feature_setting_finish (res)

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

start_session_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

event-report

The ::event-report signal gets emitted when a ‘’Event Report [libqmi-glib-OMA-Event-Report-indication.top_of_page]’’ indication is received.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientOma(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientOmaClass

The Qmi.ClientOma structure contains private data and should only be accessed using the provided API.

New in version 1.6.

cancel_session(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Cancel Session 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.ClientOma.cancel_session_finish() to get the result of the operation.

New in version 1.6.

cancel_session_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.cancel_session().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaCancelSessionOutput

Finishes an async operation started with Qmi.ClientOma.cancel_session().

New in version 1.6.

get_feature_setting(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Feature Setting 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.ClientOma.get_feature_setting_finish() to get the result of the operation.

New in version 1.6.

get_feature_setting_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.get_feature_setting().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaGetFeatureSettingOutput

Finishes an async operation started with Qmi.ClientOma.get_feature_setting().

New in version 1.6.

get_session_info(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Session Info 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.ClientOma.get_session_info_finish() to get the result of the operation.

New in version 1.6.

get_session_info_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.get_session_info().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaGetSessionInfoOutput

Finishes an async operation started with Qmi.ClientOma.get_session_info().

New in version 1.6.

reset(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Reset 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.ClientOma.reset_finish() to get the result of the operation.

New in version 1.6.

reset_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.reset().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaResetOutput

Finishes an async operation started with Qmi.ClientOma.reset().

New in version 1.6.

send_selection(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Send Selection 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.ClientOma.send_selection_finish() to get the result of the operation.

New in version 1.6.

send_selection_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.send_selection().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaSendSelectionOutput

Finishes an async operation started with Qmi.ClientOma.send_selection().

New in version 1.6.

set_event_report(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Event Report 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.ClientOma.set_event_report_finish() to get the result of the operation.

New in version 1.6.

set_event_report_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.set_event_report().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaSetEventReportOutput

Finishes an async operation started with Qmi.ClientOma.set_event_report().

New in version 1.6.

set_feature_setting(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Feature Setting 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.ClientOma.set_feature_setting_finish() to get the result of the operation.

New in version 1.6.

set_feature_setting_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.set_feature_setting().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaSetFeatureSettingOutput

Finishes an async operation started with Qmi.ClientOma.set_feature_setting().

New in version 1.6.

start_session(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Start Session 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.ClientOma.start_session_finish() to get the result of the operation.

New in version 1.6.

start_session_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientOma.start_session().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageOmaStartSessionOutput

Finishes an async operation started with Qmi.ClientOma.start_session().

New in version 1.6.

Signal Details

Qmi.ClientOma.signals.event_report(client_oma, output)
Signal Name:

event-report

Flags:

RUN_LAST

Parameters:

The ::event-report signal gets emitted when a ‘’Event Report [libqmi-glib-OMA-Event-Report-indication.top_of_page]’’ indication is received.

New in version 1.6.