From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-geolocation/watch-position.html | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 api1/pl.treksoft.kvision.cordova/-geolocation/watch-position.html (limited to 'api1/pl.treksoft.kvision.cordova/-geolocation/watch-position.html') diff --git a/api1/pl.treksoft.kvision.cordova/-geolocation/watch-position.html b/api1/pl.treksoft.kvision.cordova/-geolocation/watch-position.html new file mode 100644 index 00000000..31873a54 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-geolocation/watch-position.html @@ -0,0 +1,26 @@ + + + +Geolocation.watchPosition - kvision + + + +kvision / pl.treksoft.kvision.cordova / Geolocation / watchPosition
+
+

watchPosition

+ +suspend fun watchPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, resultCallback: (Result<Position, GeolocationException>) -> Unit): String? +

Watch location changes.

+

Parameters

+

+enableHighAccuracy - 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

+

+maximumAge - accept a cached position whose age is no greater than the specified time in milliseconds

+

+resultCallback - a callback function receiving the result

+

Return
+watch identifier (can be removed with a clearWatch function)

+ + -- cgit