session.h File Reference
`#include <ubuntu/status.h>`
`#include <ubuntu/visibility.h>`
`#include <ubuntu/application/location/heading_update.h>`
`#include <ubuntu/application/location/position_update.h>`
`#include <ubuntu/application/location/velocity_update.h>`
Include dependency graph for session.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Typedefs

typedef struct UbuntuApplicationLocationServiceSession | UALocationServiceSession
| Opaque type encapsulating a session with the location service. More...
typedef void(* | UALocationServiceSessionPositionUpdatesHandler) (UALocationPositionUpdate *position, void *context)
| Callback type that is invoked for position updates. More...
typedef void(* | UALocationServiceSessionHeadingUpdatesHandler) (UALocationHeadingUpdate *heading, void *context)
| Callback type that is invoked for heading updates. More...
typedef void(* | UALocationServiceSessionVelocityUpdatesHandler) (UALocationVelocityUpdate *heading, void *context)
| Callback type that is invoked for velocity updates. More...

## Functions

UBUNTU_DLL_PUBLIC void | ua_location_service_session_ref (UALocationServiceSession *session)
| Increments the reference count of the session instance. More...
UBUNTU_DLL_PUBLIC void | ua_location_service_session_unref (UALocationServiceSession *session)
| Decrements the reference count of the session instance. More...
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. More...
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. More...
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. More...
UBUNTU_DLL_PUBLIC UStatus | ua_location_service_session_start_position_updates (UALocationServiceSession *session)
| Starts position updates for the supplied session. More...
UBUNTU_DLL_PUBLIC void | ua_location_service_session_stop_position_updates (UALocationServiceSession *session)
| Stops position updates for the supplied session. More...
UBUNTU_DLL_PUBLIC UStatus | ua_location_service_session_start_heading_updates (UALocationServiceSession *session)
| Starts heading updates for the supplied session. More...
UBUNTU_DLL_PUBLIC void | ua_location_service_session_stop_heading_updates (UALocationServiceSession *session)
| Stops heading updates for the supplied session. More...
UBUNTU_DLL_PUBLIC UStatus | ua_location_service_session_start_velocity_updates (UALocationServiceSession *session)
| Starts velocity updates for the supplied session. More...
UBUNTU_DLL_PUBLIC void | ua_location_service_session_stop_velocity_updates (UALocationServiceSession *session)
| Stops velocity updates for the supplied session. More...