The Interface class models the primary interface to the location service.
More...
#include <interface.h>
|
static const std::string & | path () |
| Queries the path that this object is known under. More...
|
|
The Interface class models the primary interface to the location service.
Definition at line 47 of file interface.h.
com::ubuntu::location::service::Interface::Interface |
( |
| ) |
|
|
protecteddefault |
com::ubuntu::location::service::Interface::Interface |
( |
const Interface & |
| ) |
|
|
delete |
virtual com::ubuntu::location::service::Interface::~Interface |
( |
| ) |
|
|
virtualdefault |
Starts a new session for the given criteria.
- Exceptions
-
std::runtime_error | in case of errors. |
- Parameters
-
criteria | The client's requirements in terms of accuraccy and functionality |
- Returns
- A session instance.
Referenced by path().
virtual core::Property<bool>& com::ubuntu::location::service::Interface::does_report_cell_and_wifi_ids |
( |
| ) |
|
|
pure virtual |
Whether the engine and its providers/reporters do call home to report reference locations together with wifi and cell ids.
We consider this feature privacy sensitive and it defaults to false. The user has to explicitly opt-in into this feature.
- Returns
- A setable/getable/observable property.
Referenced by path().
virtual core::Property<bool>& com::ubuntu::location::service::Interface::does_satellite_based_positioning |
( |
| ) |
|
|
pure virtual |
Whether the service uses satellite-based positioning.
- Returns
- A setable/getable/observable property.
Referenced by path().
virtual core::Property<bool>& com::ubuntu::location::service::Interface::is_online |
( |
| ) |
|
|
pure virtual |
Whether the overall service and its positioning engine is online or not.
- Returns
- A setable/getable/observable property.
Referenced by path().
static const std::string& com::ubuntu::location::service::Interface::path |
( |
| ) |
|
|
inlinestatic |
virtual const core::Property<State>& com::ubuntu::location::service::Interface::state |
( |
| ) |
const |
|
pure virtual |
The overall state of the service.
- Returns
- a getable/observable property.
Referenced by path().
All space vehicles currently visible.
Referenced by path().
The documentation for this class was generated from the following file:
- /build/location-service-TMZAp2/location-service-3.0.0+16.10.20160613.1/include/location_service/com/ubuntu/location/service/interface.h