Qmi.ClientPds

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

get_agps_config_finish (res)

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

get_auto_tracking_state_finish (res)

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

get_default_tracking_session_finish (res)

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

get_gps_service_state_finish (res)

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

reset_finish (res)

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

set_agps_config_finish (res)

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

set_auto_tracking_state_finish (res)

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

set_default_tracking_session_finish (res)

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

set_event_report_finish (res)

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

set_gps_service_state_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

event-report

The ::event-report signal gets emitted when a ‘’Event Report [libqmi-glib-PDS-Event-Report-indication.top_of_page]’’ indication is received.

gps-ready

The ::gps-ready signal gets emitted when a ‘GPS Ready’ indication is received.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientPds(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientPdsClass

The Qmi.ClientPds structure contains private data and should only be accessed using the provided API.

New in version 1.0.

get_agps_config(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get AGPS Config 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.ClientPds.get_agps_config_finish() to get the result of the operation.

New in version 1.12.

get_agps_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.get_agps_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsGetAgpsConfigOutput

Finishes an async operation started with Qmi.ClientPds.get_agps_config().

New in version 1.12.

get_auto_tracking_state(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Auto Tracking State 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.ClientPds.get_auto_tracking_state_finish() to get the result of the operation.

New in version 1.0.

get_auto_tracking_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.get_auto_tracking_state().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsGetAutoTrackingStateOutput

Finishes an async operation started with Qmi.ClientPds.get_auto_tracking_state().

New in version 1.0.

get_default_tracking_session(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Default Tracking 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.ClientPds.get_default_tracking_session_finish() to get the result of the operation.

New in version 1.12.

get_default_tracking_session_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.get_default_tracking_session().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsGetDefaultTrackingSessionOutput

Finishes an async operation started with Qmi.ClientPds.get_default_tracking_session().

New in version 1.12.

get_gps_service_state(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get GPS Service State 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.ClientPds.get_gps_service_state_finish() to get the result of the operation.

New in version 1.0.

get_gps_service_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.get_gps_service_state().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsGetGpsServiceStateOutput

Finishes an async operation started with Qmi.ClientPds.get_gps_service_state().

New in version 1.0.

reset(unused, timeout, cancellable, callback, *user_data)
Parameters:

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.ClientPds.reset_finish() to get the result of the operation.

New in version 1.0.

reset_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.reset().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsResetOutput

Finishes an async operation started with Qmi.ClientPds.reset().

New in version 1.0.

set_agps_config(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set AGPS Config 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.ClientPds.set_agps_config_finish() to get the result of the operation.

New in version 1.12.

set_agps_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.set_agps_config().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsSetAgpsConfigOutput

Finishes an async operation started with Qmi.ClientPds.set_agps_config().

New in version 1.12.

set_auto_tracking_state(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Auto Tracking State 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.ClientPds.set_auto_tracking_state_finish() to get the result of the operation.

New in version 1.0.

set_auto_tracking_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.set_auto_tracking_state().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsSetAutoTrackingStateOutput

Finishes an async operation started with Qmi.ClientPds.set_auto_tracking_state().

New in version 1.0.

set_default_tracking_session(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Default Tracking 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.ClientPds.set_default_tracking_session_finish() to get the result of the operation.

New in version 1.12.

set_default_tracking_session_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.set_default_tracking_session().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsSetDefaultTrackingSessionOutput

Finishes an async operation started with Qmi.ClientPds.set_default_tracking_session().

New in version 1.12.

set_event_report(input, timeout, cancellable, callback, *user_data)
Parameters:

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.ClientPds.set_event_report_finish() to get the result of the operation.

New in version 1.0.

set_event_report_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.set_event_report().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsSetEventReportOutput

Finishes an async operation started with Qmi.ClientPds.set_event_report().

New in version 1.0.

set_gps_service_state(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set GPS Service State 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.ClientPds.set_gps_service_state_finish() to get the result of the operation.

New in version 1.0.

set_gps_service_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientPds.set_gps_service_state().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessagePdsSetGpsServiceStateOutput

Finishes an async operation started with Qmi.ClientPds.set_gps_service_state().

New in version 1.0.

Signal Details

Qmi.ClientPds.signals.event_report(client_pds, output)
Signal Name:

event-report

Flags:

RUN_LAST

Parameters:

The ::event-report signal gets emitted when a ‘’Event Report [libqmi-glib-PDS-Event-Report-indication.top_of_page]’’ indication is received.

New in version 1.0.

Qmi.ClientPds.signals.gps_ready(client_pds)
Signal Name:

gps-ready

Flags:

RUN_LAST

Parameters:

client_pds (Qmi.ClientPds) – The object which received the signal

The ::gps-ready signal gets emitted when a ‘GPS Ready’ indication is received.

New in version 1.14.