Geolocator

fun Geolocator(locator: Locator, dispatcher: CoroutineDispatcher = Dispatchers.Default): Geolocator

Create a new Geolocator using the provided locator and dispatcher.

Return

A new geolocator instance

Parameters

locator

The locator to use for geolocation.

dispatcher

The dispatcher to use for the geolocator.