Qmi.ClientPds¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientPds(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientPdsstructure 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:
input (
Qmi.MessagePdsGetAgpsConfigInput) – aQmi.MessagePdsGetAgpsConfigInput.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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.get_agps_config().- Raises:
- Returns:
a
Qmi.MessagePdsGetAgpsConfigOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsGetAgpsConfigOutput.unref().- Return type:
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:
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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.get_auto_tracking_state().- Raises:
- Returns:
a
Qmi.MessagePdsGetAutoTrackingStateOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsGetAutoTrackingStateOutput.unref().- Return type:
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:
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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.get_default_tracking_session().- Raises:
- Returns:
a
Qmi.MessagePdsGetDefaultTrackingSessionOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsGetDefaultTrackingSessionOutput.unref().- Return type:
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:
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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.get_gps_service_state().- Raises:
- Returns:
a
Qmi.MessagePdsGetGpsServiceStateOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsGetGpsServiceStateOutput.unref().- Return type:
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:
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.ClientPds.reset_finish() to get the result of the operation.New in version 1.0.
- reset_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.reset().- Raises:
- Returns:
a
Qmi.MessagePdsResetOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsResetOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientPds.reset().New in version 1.0.
- set_agps_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdsSetAgpsConfigInput) – aQmi.MessagePdsSetAgpsConfigInput.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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.set_agps_config().- Raises:
- Returns:
a
Qmi.MessagePdsSetAgpsConfigOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsSetAgpsConfigOutput.unref().- Return type:
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:
input (
Qmi.MessagePdsSetAutoTrackingStateInput) – aQmi.MessagePdsSetAutoTrackingStateInput.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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.set_auto_tracking_state().- Raises:
- Returns:
a
Qmi.MessagePdsSetAutoTrackingStateOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsSetAutoTrackingStateOutput.unref().- Return type:
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:
input (
Qmi.MessagePdsSetDefaultTrackingSessionInput) – aQmi.MessagePdsSetDefaultTrackingSessionInput.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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.set_default_tracking_session().- Raises:
- Returns:
a
Qmi.MessagePdsSetDefaultTrackingSessionOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsSetDefaultTrackingSessionOutput.unref().- Return type:
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:
input (
Qmi.MessagePdsSetEventReportInput) – aQmi.MessagePdsSetEventReportInput.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.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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.set_event_report().- Raises:
- Returns:
a
Qmi.MessagePdsSetEventReportOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsSetEventReportOutput.unref().- Return type:
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:
input (
Qmi.MessagePdsSetGpsServiceStateInput) – aQmi.MessagePdsSetGpsServiceStateInput.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 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) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPds.set_gps_service_state().- Raises:
- Returns:
a
Qmi.MessagePdsSetGpsServiceStateOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePdsSetGpsServiceStateOutput.unref().- Return type:
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:
- Parameters:
client_pds (
Qmi.ClientPds) – The object which received the signaloutput (
Qmi.IndicationPdsEventReportOutput) – AQmi.IndicationPdsEventReportOutput.
The
::event-reportsignal 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:
- Parameters:
client_pds (
Qmi.ClientPds) – The object which received the signal
The
::gps-readysignal gets emitted when a ‘GPS Ready’ indication is received.New in version 1.14.