Locationservices
object Locationservices
Main geolocation object based on Google location services api.
Functions
Link copied to clipboard
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.