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.ClientDsd
structure 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.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to 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.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientDsd.get_apn_info
().- Raises:
- Returns:
a
Qmi.MessageDsdGetApnInfoOutput
, orNone
if 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 (
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 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.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientDsd.get_system_status
().- Raises:
- Returns:
a
Qmi.MessageDsdGetSystemStatusOutput
, orNone
if 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.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to 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.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientDsd.set_apn_type
().- Raises:
- Returns:
a
Qmi.MessageDsdSetApnTypeOutput
, orNone
if 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.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to 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.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientDsd.system_status_change
().- Raises:
- Returns:
a
Qmi.MessageDsdSystemStatusChangeOutput
, orNone
if 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-status
signal gets emitted when a ‘’System Status [libqmi-glib-DSD-System-Status-indication.top_of_page]’’ indication is received.New in version 1.32.