From bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Jun 2019 14:12:10 +0200 Subject: API documentation for KVision 0.0.37 --- .../-geolocation/get-current-position.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 api/pl.treksoft.kvision.cordova/-geolocation/get-current-position.html (limited to 'api/pl.treksoft.kvision.cordova/-geolocation/get-current-position.html') diff --git a/api/pl.treksoft.kvision.cordova/-geolocation/get-current-position.html b/api/pl.treksoft.kvision.cordova/-geolocation/get-current-position.html new file mode 100644 index 00000000..ba6e5040 --- /dev/null +++ b/api/pl.treksoft.kvision.cordova/-geolocation/get-current-position.html @@ -0,0 +1,22 @@ + + + +Geolocation.getCurrentPosition - kvision + + + +kvision / pl.treksoft.kvision.cordova / Geolocation / getCurrentPosition
+
+

getCurrentPosition

+ +suspend fun getCurrentPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null): Result<Position, GeolocationException> +

Get current location.

+

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

+ + -- cgit