/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.timetables/FetchTimetable

FetchTimetable

\ open class FetchTimetable@Injectconstructor(departuresRepository: DeparturesRepository, realtimeAlertRepository: RealtimeAlertRepository, parentStopDao: ParentStopDao, timetableEntriesMapper: TimetableEntriesMapper, serviceAlertMapper: ServiceAlertMapper, serviceAlertsDao: ServiceAlertsDao, context: Context)

Constructors

FetchTimetable @Inject
constructor(departuresRepository: DeparturesRepository, realtimeAlertRepository: RealtimeAlertRepository, parentStopDao: ParentStopDao, timetableEntriesMapper: TimetableEntriesMapper, serviceAlertMapper: ServiceAlertMapper, serviceAlertsDao: ServiceAlertsDao, context: Context)

Functions

Name Summary
execute open fun execute(embarkationStopCodes: List<String>, disembarkationStopCodes: List<String>?, region: Region, startTimeInSecs: Long): Single<Pair<List<TimetableEntry>, Optional<ScheduledStop>>>