watchPosition

fun watchPosition(    successCallback: PositionCallback,     errorCallback: PositionErrorCallback? = definedExternally,     options: PositionOptions = definedExternally): GeolocationWatchId(source)

The watchPosition() method of the Geolocation interface is used to register a handler function that will be called automatically each time the position of the device changes.

MDN Reference