LocationService

@Singleton
class LocationService @Inject constructor(val context: Context, val dispatcherProvider: DispatcherProvider, val protoDataStore: ProtoDataStore)

Constructors

Link copied to clipboard
@Inject
constructor(context: Context, dispatcherProvider: DispatcherProvider, protoDataStore: ProtoDataStore)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun calculateDistanceBetweenLocations(destination: Location, currentLocation: Location): String
Link copied to clipboard
fun calculateDistanceByGpsLocation(location: Resource): String