GeoPosition

data class GeoPosition : Parcelable

Represents position, speed, and course information as provided by a positioning source for a distinct moment in time.

Constructors

Link copied to clipboard
fun GeoPosition(coordinates: GeoCoordinates, speed: Double, course: Float, timestamp: Long)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

The accuracy of the altitude, in meters.

Link copied to clipboard

The geographical location of the position GeoCoordinates

Link copied to clipboard

The course (direction of travel) of the position, in degrees. Valid course values are in the range [0, 360), with 0 degrees representing north and values increasing clockwise.

Link copied to clipboard

The accuracy of the latitude coordinate, in meters.

Link copied to clipboard

The accuracy of the longitude coordinate, in meters.

Link copied to clipboard

The movement speed of the position, in km/h

Link copied to clipboard

The timestamp of acquired data in seconds from UNIX epoch