Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
|
|
Go to the documentation of this file.
19 #ifndef UBUNTU_APPLICATION_LOCATION_SERVICE_H_
20 #define UBUNTU_APPLICATION_LOCATION_SERVICE_H_
150 #endif // UBUNTU_APPLICATION_LOCATION_SERVICE_H_
@ UA_LOCATION_SERVICE_ERROR_GENERIC_ERROR
UBUNTU_DLL_PUBLIC UALocationServiceSession * ua_location_service_create_session_for_low_accuracy(UALocationServiceRequirementsFlags flags)
Creates a new session with the location service for low positional accuracy requirements.
UBUNTU_DLL_PUBLIC UALocationServiceSession * ua_location_service_try_create_session_for_low_accuracy(UALocationServiceRequirementsFlags flags, UALocationServiceError *status)
Tries to reate a new session with the location service for low positional accuracy requirements.
UBUNTU_DLL_PUBLIC UALocationServiceSession * ua_location_service_create_session_for_high_accuracy(UALocationServiceRequirementsFlags flags)
Creates a new session with the location service for high positional accuracy requirements.
UbuntuApplicationLocationServiceError
Possible error codes reported when trying to create a session.
@ UA_LOCATION_SERVICE_REQUIRE_HEADING
UbuntuApplicationLocationServiceRequirement UALocationServiceRequirement
UbuntuApplicationLocationServiceError UALocationServiceError
UbuntuApplicationLocationServiceRequirement
Application-specific requirements.
@ UA_LOCATION_SERVICE_ERROR_NO_CONNECTION
#define UBUNTU_DLL_PUBLIC
@ UA_LOCATION_SERVICE_REQUIRE_VELOCITY
UBUNTU_DLL_PUBLIC UALocationServiceSession * ua_location_service_try_create_session_for_high_accuracy(UALocationServiceRequirementsFlags flags, UALocationServiceError *status)
Tries to reate a new session with the location service for high positional accuracy requirements.
UBUNTU_DLL_PUBLIC UALocationServiceController * ua_location_service_create_controller()
Creates a new controller for the location service.
struct UbuntuApplicationLocationServiceSession UALocationServiceSession
Opaque type encapsulating a session with the location service.
@ UA_LOCATION_SERVICE_ERROR_NO_ACCESS
@ UA_LOCATION_SERVICE_REQUIRE_ALTITUDE
unsigned int UALocationServiceRequirementsFlags
Bitfield type for summarizing an application's requirements.
struct UbuntuApplicationLocationServiceController UALocationServiceController
Opaque type encapsulating a controller the location service.
@ UA_LOCATION_SERVICE_ERROR_NONE