appsmith.geolocation.currentPosition.coords. If onSuccessCallback is passed, it would be called with the location information received.
appsmith.geolocation.currentPosition.timestampupdated whenever the position was last updated. The callbacks, if provided, will get executed automatically when the location has changed. No watchId is returned as well as the platform will only allow for a single
() -> Promise