/tripkit/TripKitData/com.skedgo.tripkit.data.database.locations.carpods/CarPodRepository
CarPodRepository
\ open class CarPodRepository@Injectconstructor(database: TripKitDatabase)
Constructors
| CarPodRepository | @Inject constructor(database: TripKitDatabase) |
Functions
| Name | Summary |
|---|---|
| clearCarPods | fun clearCarPods(): Completable |
| 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 |