Qmi.ClientDsd¶
- 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.ClientDsd(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientDsdstructure contains private data and should only be accessed using the provided API.New in version 1.26.
- get_apn_info(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageDsdGetApnInfoInput) – aQmi.MessageDsdGetApnInfoInput.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 APN 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.ClientDsd.get_apn_info_finish() to get the result of the operation.New in version 1.26.
- get_apn_info_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientDsd.get_apn_info().- Raises:
- Returns:
a
Qmi.MessageDsdGetApnInfoOutput, orNoneif error is set. The returned value should be freed withQmi.MessageDsdGetApnInfoOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientDsd.get_apn_info().New in version 1.26.
- get_system_status(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 System Status 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.ClientDsd.get_system_status_finish() to get the result of the operation.New in version 1.32.
- get_system_status_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientDsd.get_system_status().- Raises:
- Returns:
a
Qmi.MessageDsdGetSystemStatusOutput, orNoneif error is set. The returned value should be freed withQmi.MessageDsdGetSystemStatusOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientDsd.get_system_status().New in version 1.32.
- set_apn_type(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageDsdSetApnTypeInput) – aQmi.MessageDsdSetApnTypeInput.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 APN Type 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.ClientDsd.set_apn_type_finish() to get the result of the operation.New in version 1.26.
- set_apn_type_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientDsd.set_apn_type().- Raises:
- Returns:
a
Qmi.MessageDsdSetApnTypeOutput, orNoneif error is set. The returned value should be freed withQmi.MessageDsdSetApnTypeOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientDsd.set_apn_type().New in version 1.26.
- system_status_change(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageDsdSystemStatusChangeInput) – aQmi.MessageDsdSystemStatusChangeInput.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 System Status Change 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.ClientDsd.system_status_change_finish() to get the result of the operation.New in version 1.32.
- system_status_change_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientDsd.system_status_change().- Raises:
- Returns:
a
Qmi.MessageDsdSystemStatusChangeOutput, orNoneif error is set. The returned value should be freed withQmi.MessageDsdSystemStatusChangeOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientDsd.system_status_change().New in version 1.32.
Signal Details¶
- Qmi.ClientDsd.signals.system_status(client_dsd, output)¶
- Signal Name:
system-status- Flags:
- Parameters:
client_dsd (
Qmi.ClientDsd) – The object which received the signaloutput (
Qmi.IndicationDsdSystemStatusOutput) – AQmi.IndicationDsdSystemStatusOutput.
The
::system-statussignal gets emitted when a ‘’System Status [libqmi-glib-DSD-System-Status-indication.top_of_page]’’ indication is received.New in version 1.32.