Location

sealed class Location

A location data object. This object contains a location data, including its position point, velocity, accuracy, course etc.

Since

200.1.0

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

A collection of well-known constants for keys and values in Location.additionalSourceProperties

Properties

Link copied to clipboard

A set of key-value pairs providing additional meta-data and properties about the source of this Location. A Location object can be created manually or by a variety of LocationDataSource types, for example from the default platform data source or external GPS. When user code receives a new Location, it can be important to determine how the information was obtained.

Link copied to clipboard

The course of the location in degrees clockwise, 0 being true North.

Link copied to clipboard

The horizontal accuracy of the location in meters.

Link copied to clipboard

Indicates whether this is an outdated device position retrieved and cached earlier and therefore not guaranteed to represent the current location.

Link copied to clipboard

The position of the location.

Link copied to clipboard

The speed of the location in meters per second.

Link copied to clipboard

The timestamp of the location.

Link copied to clipboard

The vertical accuracy of the location in meters.