Qmi.ClientOma¶
- 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.ClientOma(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.cancel_session
().- Raises:
- Returns:
a
Qmi.MessageOmaCancelSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaCancelSessionOutput.unref
().- Return type:
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:
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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.get_feature_setting
().- Raises:
- Returns:
a
Qmi.MessageOmaGetFeatureSettingOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaGetFeatureSettingOutput.unref
().- Return type:
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:
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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.get_session_info
().- Raises:
- Returns:
a
Qmi.MessageOmaGetSessionInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaGetSessionInfoOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientOma.get_session_info
().New in version 1.6.
- reset(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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.reset
().- Raises:
- Returns:
a
Qmi.MessageOmaResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaResetOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientOma.reset
().New in version 1.6.
- send_selection(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageOmaSendSelectionInput
) – aQmi.MessageOmaSendSelectionInput
.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.send_selection
().- Raises:
- Returns:
a
Qmi.MessageOmaSendSelectionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaSendSelectionOutput.unref
().- Return type:
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:
input (
Qmi.MessageOmaSetEventReportInput
) – aQmi.MessageOmaSetEventReportInput
.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.set_event_report
().- Raises:
- Returns:
a
Qmi.MessageOmaSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaSetEventReportOutput.unref
().- Return type:
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:
input (
Qmi.MessageOmaSetFeatureSettingInput
) – aQmi.MessageOmaSetFeatureSettingInput
.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.set_feature_setting
().- Raises:
- Returns:
a
Qmi.MessageOmaSetFeatureSettingOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaSetFeatureSettingOutput.unref
().- Return type:
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:
input (
Qmi.MessageOmaStartSessionInput
) – aQmi.MessageOmaStartSessionInput
.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 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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientOma.start_session
().- Raises:
- Returns:
a
Qmi.MessageOmaStartSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaStartSessionOutput.unref
().- Return type:
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:
- Parameters:
client_oma (
Qmi.ClientOma
) – The object which received the signaloutput (
Qmi.IndicationOmaEventReportOutput
) – AQmi.IndicationOmaEventReportOutput
.
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.