tripkit-android / com.skedgo.tripkit.data.database.locations.carpods / CarPodRepository

CarPodRepository

open class CarPodRepository

Constructors

Name Summary
<init> CarPodRepository(database:TripKitDatabase)

Functions

Name Summary
getCarPod fun getCarPod(id:String): Single<CarPod>
getCarPodsByCellIds fun getCarPodsByCellIds(cellIds:List<String>): Observable<List<CarPod>>
getCarPodsByCellIdsWithinBounds fun getCarPodsByCellIdsWithinBounds(cellIds:List<String>, southwest:GeoPoint, northEast:GeoPoint): Observable<List<CarPod>>
saveCarPods fun saveCarPods(carPodEntities:List<Pair<CarPodEntity,List<CarPodVehicle>?>>): Completable