LocationMapper

Provides mapping between Android's Location and the GeoLocation.

Functions

Link copied to clipboard

Converts the Android's Location into the GeoLocation object.

Link copied to clipboard
fun toLocation(geoLocation: GeoLocation): Location

Converts the GeoLocation object into the Android's Location. SystemClock.elapsedRealtimeNanos can be compared with Location.getElapsedRealtimeNanos.