Package-level declarations

Types

Link copied to clipboard

The GeolocationCoordinates interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated. The geographic position information is provided in terms of World Geodetic System coordinates (WGS84).

Link copied to clipboard

The GeolocationPosition interface represents the position of the concerned device at a given time. The position, represented by a GeolocationCoordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.

Link copied to clipboard

Represents an error that occurred while retrieving the geolocation.

Functions

Link copied to clipboard
expect fun createGeolocationOptions(enableHighAccuracy: Boolean, timeout: Double, maximumAge: Double): Object

Represents the options that can be passed to the Geolocation methods.

actual fun createGeolocationOptions(enableHighAccuracy: Boolean, timeout: Double, maximumAge: Double): Object
actual fun createGeolocationOptions(enableHighAccuracy: Boolean, timeout: Double, maximumAge: Double): Object