#include <ubuntu/visibility.h>
#include <ubuntu/application/location/controller.h>
#include <ubuntu/application/location/session.h>
Go to the source code of this file.
Typedefs | |
typedef UbuntuApplicationLocationServiceRequirement | UALocationServiceRequirement |
typedef unsigned int | UALocationServiceRequirementsFlags |
Bitfield type for summarizing an application's requirements. More... | |
Enumerations | |
enum | UbuntuApplicationLocationServiceRequirement { UA_LOCATION_SERVICE_REQUIRE_ALTITUDE = 1 << 0, UA_LOCATION_SERVICE_REQUIRE_HEADING = 1 << 1, UA_LOCATION_SERVICE_REQUIRE_VELOCITY = 1 << 2 } |
Application-specific requirements. More... | |
Functions | |
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. More... | |
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. More... | |
UBUNTU_DLL_PUBLIC UALocationServiceController * | ua_location_service_create_controller () |
Creates a new controller for the location service. More... | |