19 #ifndef UBUNTU_APPLICATION_LOCATION_SERVICE_H_
20 #define UBUNTU_APPLICATION_LOCATION_SERVICE_H_
95 UALocationServiceRequirementsFlags flags);
108 UALocationServiceRequirementsFlags flags,
109 UALocationServiceError* status);
121 UALocationServiceRequirementsFlags flags);
134 UALocationServiceRequirementsFlags flags,
135 UALocationServiceError* status);
150 #endif // UBUNTU_APPLICATION_LOCATION_SERVICE_H_
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.
UbuntuApplicationLocationServiceRequirement UALocationServiceRequirement
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_high_accuracy(UALocationServiceRequirementsFlags flags, UALocationServiceError *status)
Tries to reate a new session with the location service for high 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...
struct UbuntuApplicationLocationServiceSession UALocationServiceSession
Opaque type encapsulating a session with the location service.
UbuntuApplicationLocationServiceRequirement
Application-specific requirements.
UbuntuApplicationLocationServiceError UALocationServiceError
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC UALocationServiceController * ua_location_service_create_controller()
Creates a new controller for the location service.
unsigned int UALocationServiceRequirementsFlags
Bitfield type for summarizing an application's requirements.
struct UbuntuApplicationLocationServiceController UALocationServiceController
Opaque type encapsulating a controller the location service.
UbuntuApplicationLocationServiceError
Possible error codes reported when trying to create a session.