Location

class Location(val coordinates: Coordinates, val accuracy: Double, val azimuth: Azimuth?, val speed: Speed?, val altitude: Altitude?, val timestampMillis: Long)

Object representing a user's location.

Constructors

Link copied to clipboard
constructor(coordinates: Coordinates, accuracy: Double, azimuth: Azimuth?, speed: Speed?, altitude: Altitude?, timestampMillis: Long)

Properties

Link copied to clipboard

The accuracy of the location in meters, these values can be empty depending on the accuracy of the location request.

Link copied to clipboard

The altitude of the location in meters, this value can be empty depending on the accuracy of the location request.

Link copied to clipboard

The azimuth of the location in degrees, this value can be empty depending on the accuracy of the location request.

Link copied to clipboard

The coordinates of the location.

Link copied to clipboard
val speed: Speed?

The speed of the location in meters per second, this value can be empty depending on the accuracy of the location request.

Link copied to clipboard

The timestamp of the location in milliseconds since epoch.