Locationservices

Main geolocation object based on Google location services api.

Types

Link copied to clipboard

Location services priority.

Functions

Link copied to clipboard
fun clearWatch(watchId: String)

Clear the given watch.

Link copied to clipboard
suspend fun getCurrentPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: Locationservices.Priority? = null, interval: Number? = null, fastInterval: Number? = null): <Error class: unknown class><Position>

Get current location.

Link copied to clipboard
suspend fun watchPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: Locationservices.Priority? = null, interval: Number? = null, fastInterval: Number? = null, resultCallback: (<Error class: unknown class><Position>) -> Unit): String?

Watch location changes.