Package-level declarations

Types

Link copied to clipboard

The Geolocation interface represents an object able to obtain the position of the device programmatically.

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. Available only in secure contexts.

Link copied to clipboard

The GeolocationPosition interface represents the position of the concerned device at a given time. Available only in secure contexts.

Link copied to clipboard

The GeolocationPositionError interface represents the reason of an error occurring when using the geolocating device.

Link copied to clipboard
sealed interface GeolocationWatchId
Link copied to clipboard
typealias PositionCallback = (position: GeolocationPosition) -> Unit
Link copied to clipboard
typealias PositionErrorCallback = (positionError: GeolocationPositionError) -> Unit
Link copied to clipboard
interface PositionOptions