Ubuntu Platform API  2.3.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
session.h File Reference
+ 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...