watch Position
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.
Return
watch identifier (can be removed with a clearWatch function)
Parameters
enable High Accuracy
provides a hint that the application needs the best possible results
timeout
the maximum length of time (milliseconds) that is allowed to pass before getting the result
maximum Age
accept a cached position whose age is no greater than the specified time in milliseconds
priority
the priority of the request is a strong hint for which location sources to use
interval
set the desired interval for active location updates, in milliseconds
fast Interval
explicitly set the fastest interval for location updates, in milliseconds
result Callback
a callback function receiving the result