Qmi.ClientDsd

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

get_apn_info_finish (res)

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

get_system_status_finish (res)

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

set_apn_type_finish (res)

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

system_status_change_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

system-status

The ::system-status signal gets emitted when a ‘’System Status [libqmi-glib-DSD-System-Status-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.ClientDsd(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientDsdClass

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDsd.get_apn_info().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageDsdGetApnInfoOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDsd.get_system_status().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageDsdGetSystemStatusOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDsd.set_apn_type().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageDsdSetApnTypeOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDsd.system_status_change().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageDsdSystemStatusChangeOutput

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:

RUN_LAST

Parameters:

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.