19 #ifndef UBUNTU_APPLICATION_LOCATION_SESSION_H_ 20 #define UBUNTU_APPLICATION_LOCATION_SESSION_H_ 179 #endif // UBUNTU_APPLICATION_LOCATION_SESSION_H_ UBUNTU_DLL_PUBLIC UStatus ua_location_service_session_start_velocity_updates(UALocationServiceSession *session)
Starts velocity updates for the supplied session.
UBUNTU_DLL_PUBLIC UStatus ua_location_service_session_start_heading_updates(UALocationServiceSession *session)
Starts heading updates for the supplied session.
UBUNTU_DLL_PUBLIC UStatus ua_location_service_session_start_position_updates(UALocationServiceSession *session)
Starts position updates for the supplied session.
struct UbuntuApplicationLocationVelocityUpdate UALocationVelocityUpdate
Opaque type encapsulating a velocity update.
UbuntuStatus
Indicates the status of an operation.
UBUNTU_DLL_PUBLIC void ua_location_service_session_unref(UALocationServiceSession *session)
Decrements the reference count of the session instance.
struct UbuntuApplicationLocationServiceSession UALocationServiceSession
Opaque type encapsulating a session with the location service.
void(* UALocationServiceSessionPositionUpdatesHandler)(UALocationPositionUpdate *position, void *context)
Callback type that is invoked for position updates.
void(* UALocationServiceSessionVelocityUpdatesHandler)(UALocationVelocityUpdate *heading, void *context)
Callback type that is invoked for velocity updates.
struct UbuntuApplicationLocationHeadingUpdate UALocationHeadingUpdate
Opaque type encapsulating a heading update.
UBUNTU_DLL_PUBLIC void ua_location_service_session_stop_velocity_updates(UALocationServiceSession *session)
Stops velocity updates for the supplied session.
UBUNTU_DLL_PUBLIC void ua_location_service_session_set_position_updates_handler(UALocationServiceSession *session, UALocationServiceSessionPositionUpdatesHandler handler, void *context)
Installs an app-specific position update handler for the session.
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC void ua_location_service_session_stop_position_updates(UALocationServiceSession *session)
Stops position updates for the supplied session.
void(* UALocationServiceSessionHeadingUpdatesHandler)(UALocationHeadingUpdate *heading, void *context)
Callback type that is invoked for heading updates.
UBUNTU_DLL_PUBLIC void ua_location_service_session_ref(UALocationServiceSession *session)
Increments the reference count of the session instance.
struct UbuntuApplicationLocationPositionUpdate UALocationPositionUpdate
Opaque type encapsulating a location update.
UBUNTU_DLL_PUBLIC void ua_location_service_session_set_velocity_updates_handler(UALocationServiceSession *session, UALocationServiceSessionVelocityUpdatesHandler handler, void *context)
Installs an app-specific velocity update handler for the session.
UBUNTU_DLL_PUBLIC void ua_location_service_session_stop_heading_updates(UALocationServiceSession *session)
Stops heading updates for the supplied session.
UBUNTU_DLL_PUBLIC void ua_location_service_session_set_heading_updates_handler(UALocationServiceSession *session, UALocationServiceSessionHeadingUpdatesHandler handler, void *context)
Installs an app-specific heading update handler for the session.