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.ClientOmastructure 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 (
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 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.cancel_session().- Raises:
- Returns:
a
Qmi.MessageOmaCancelSessionOutput, orNoneif 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 (
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 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.get_feature_setting().- Raises:
- Returns:
a
Qmi.MessageOmaGetFeatureSettingOutput, orNoneif 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 (
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 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.get_session_info().- Raises:
- Returns:
a
Qmi.MessageOmaGetSessionInfoOutput, orNoneif 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 (
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 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.reset().- Raises:
- Returns:
a
Qmi.MessageOmaResetOutput, orNoneif 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.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.send_selection().- Raises:
- Returns:
a
Qmi.MessageOmaSendSelectionOutput, orNoneif 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.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.set_event_report().- Raises:
- Returns:
a
Qmi.MessageOmaSetEventReportOutput, orNoneif 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.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.set_feature_setting().- Raises:
- Returns:
a
Qmi.MessageOmaSetFeatureSettingOutput, orNoneif 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.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto 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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientOma.start_session().- Raises:
- Returns:
a
Qmi.MessageOmaStartSessionOutput, orNoneif 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-reportsignal gets emitted when a ‘’Event Report [libqmi-glib-OMA-Event-Report-indication.top_of_page]’’ indication is received.New in version 1.6.