tripkit-android / com.skedgo.tripkit.data.regions / RegionService

RegionService

interface RegionService

Functions

Name Summary
fetchParatransitByRegionAsync abstract fun fetchParatransitByRegionAsync(region:Region): Observable<Paratransit>
getCitiesAsync abstract fun getCitiesAsync(): Observable<Location>
getCitiesByNameAsync abstract fun getCitiesByNameAsync(name:String?): Observable<Location>
getRegionByLocationAsync abstract fun getRegionByLocationAsync(latitude:Double, longitude:Double): Observable<Region>
abstract fun getRegionByLocationAsync(location:Location?): Observable<Region>
getRegionByNameAsync abstract fun getRegionByNameAsync(regionName:String): Observable<Region>
getRegionInfoByRegionAsync abstract fun getRegionInfoByRegionAsync(region:Region): Observable<RegionInfo>
getRegionsAsync abstract fun getRegionsAsync(): Observable<List<Region>>
getTransitModesByRegionAsync abstract fun getTransitModesByRegionAsync(region:Region): Observable<List<ModeInfo>>
getTransportModeByIdAsync abstract fun getTransportModeByIdAsync(modeId:String): Observable<TransportMode>
getTransportModesAsync abstract fun getTransportModesAsync(): Observable<Map<String,TransportMode>>
getTransportModesByIdsAsync abstract fun getTransportModesByIdsAsync(modeIds:List<String>): Observable<List<TransportMode>>
getTransportModesByLocationAsync abstract fun getTransportModesByLocationAsync(location:Location): Observable<List<TransportMode>>
getTransportModesByRegionAsync abstract fun getTransportModesByRegionAsync(region:Region): Observable<List<TransportMode>>
refreshAsync abstract fun refreshAsync(): Completable