ILocationService

Functions

Link copied to clipboard
abstract fun getCurrentLocation(onSuccess: (OmhCoordinate) -> Unit, onFailure: (Exception) -> Unit)
Link copied to clipboard
abstract fun getLastLocation(onSuccess: (OmhCoordinate) -> Unit, onFailure: (Exception) -> Unit)
Link copied to clipboard
abstract fun startLocationUpdates(onLocationUpdateSuccess: (OmhCoordinate) -> Unit, onLocationUpdateFailure: (Exception) -> Unit)
Link copied to clipboard
abstract fun stopLocationUpdates()