Geolocation

Main geolocation object based on webview api.

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): <Error class: unknown class><Position>

Get current location.

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

Watch location changes.