ImprovedPositionData

Definition of ImprovedPosition.

Constructors

Link copied to clipboard
constructor(data: SenseData?)

Types

Link copied to clipboard

Current position road modifiers

Properties

Link copied to clipboard

Sys timestamp in milliseconds since 1970 ( epoch )

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Altitude above main sea level in meters.

Link copied to clipboard

Coordinates. (0,0) means unknown position.

Link copied to clipboard

Course (true heading) in degrees, from 0 (north) to 360. -1 means unknown course.

Link copied to clipboard

Course accuracy in degrees. Typical accuracy for consumer GPS is 25 degrees.

Link copied to clipboard

Fix quality (whether this position is trustworthy).

Link copied to clipboard

Position accuracy in meters. Typical values for consumer GPS are 5-20 meters.

Link copied to clipboard

Latitude, in degrees (north = positive).

Link copied to clipboard

Longitude, in degrees (east = positive).

Link copied to clipboard
Link copied to clipboard

Road address

Link copied to clipboard

Road modifiers as an integer of packed ERoadModifier flags

Link copied to clipboard

Road speed limit in m/s

Link copied to clipboard

Satellite time in milliseconds since 1970. Timestamps are expected to increase steadily in time.

Link copied to clipboard

Speed, in m/s. Non-negative values mean valid speed, -1 means unknown.

Link copied to clipboard

Speed accuracy in m/s. Typical accuracy for consumer GPS is 2 m/s at steady speed.

Link copied to clipboard
val time: Time?

System acquisition time

Link copied to clipboard

Data type.

Link copied to clipboard

Vertical accuracy in meters.

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
open external override fun hasAltitude(): Boolean

True if altitude is available, false if not.

Link copied to clipboard
open external override fun hasCourse(): Boolean

True if course is available, false if not.

Link copied to clipboard
open external override fun hasCourseAccuracy(): Boolean

True if course accuracy is available, false if not.

Link copied to clipboard
open external override fun hasHorizontalAccuracy(): Boolean

True if horizontal accuracy is available, false if not.

Link copied to clipboard

Check if improved position has a road localization

Link copied to clipboard
open external override fun hasSpeed(): Boolean

True if speed is available, false if not.

Link copied to clipboard
open external override fun hasSpeedAccuracy(): Boolean

True if speed accuracy is available, false if not.

Link copied to clipboard
open external override fun hasVerticalAccuracy(): Boolean

True if vertical accuracy is available, false if not.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
open external override fun isValid(): Boolean

Check if position is valid.

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: