/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.locationhelper/LocationHelper/getCurrentLocation
getCurrentLocation
\ fun getCurrentLocation(listener: LocationHelper.OnLocationFoundListener)
Retrieves the current location.
Parameters
androidJvm
listener | The callback to be called when a location is found. |
\ fun getCurrentLocation(listener: (Location) -> Unit, error: (String) -> Unit)
Retrieves the current location.
Parameters
androidJvm
listener | A function to be called when a location is found. |
error | A function to be called when an error occurred. |