GeoAPIManager

interface GeoAPIManager

Functions

apps
Link copied to clipboard
abstract fun apps(latitude: Double, longitude: Double, completion: (Result<List<GeoGasStation>>) -> Unit)
cofuGasStations
Link copied to clipboard
abstract fun cofuGasStations(completion: (Result<List<CofuGasStation>>) -> Unit)
abstract fun cofuGasStations(location: Location, radius: Int, completion: (Result<List<GasStation>>) -> Unit)
features
Link copied to clipboard
abstract fun features(poiId: String, latitude: Double, longitude: Double, completion: (Result<List<GeoAPIFeature>>) -> Unit)
isPoiInRange
Link copied to clipboard
abstract suspend fun isPoiInRange(poiId: String, location: Location? = null): Boolean

Inheritors

GeoAPIManagerImpl
Link copied to clipboard