Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
|
|
Go to the documentation of this file.
19 #ifndef UBUNTU_APPLICATION_LOCATION_VELOCITY_UPDATE_H_
20 #define UBUNTU_APPLICATION_LOCATION_VELOCITY_UPDATE_H_
80 #endif // UBUNTU_APPLICATION_LOCATION_VELOCITY_UPDATE_H_
UBUNTU_DLL_PUBLIC uint64_t ua_location_velocity_update_get_timestamp(UALocationVelocityUpdate *update)
Queries the timestamp of the velocity update.
struct UbuntuApplicationLocationVelocityUpdate UALocationVelocityUpdate
Opaque type encapsulating a velocity update.
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC void ua_location_velocity_update_unref(UALocationVelocityUpdate *update)
Decrements the reference count of the velocity update instance.
UBUNTU_DLL_PUBLIC double ua_location_velocity_update_get_velocity_in_meters_per_second(UALocationVelocityUpdate *update)
Queries the velocity contained in the position update.
UBUNTU_DLL_PUBLIC void ua_location_velocity_update_ref(UALocationVelocityUpdate *update)
Increments the reference count of the velocity update instance.