tripkit-android / com.skedgo.tripkit.common.agenda / IRealTimeElement


interface IRealTimeElement

Signifies a class is able to fetch timetable information


Name Summary
getEndStopCode abstract fun getEndStopCode():String!
getOperator abstract fun getOperator():String!
getServiceTripId abstract fun getServiceTripId():String!
getStartStopCode abstract fun getStartStopCode():String!
getStartTimeInSecs abstract fun getStartTimeInSecs():Long
setEndStopCode abstract fun setEndStopCode(endStopCode:String!):Unit
setStartStopCode abstract fun setStartStopCode(startStopCode:String!):Unit


Name Summary
TimetableEntry (Aka Service)open class TimetableEntry : Parcelable,IRealTimeElement,ITimeRange,WheelchairAccessible
TripSegment To go from A to B, sometimes we have to travel X, Y, Z locations between A and B. That means, we travel A to X, then X to Y, then Y to Z, then Z to B which is the destination. To show how to travel from A to X, we use [`TripSegment`](../../com.skedgo.tripkit.routing/-trip-segment/ So, in this case, a trip from A to B comprises 6 segments: - A segment whose type isSegmentType#DEPARTURE. - A segment from A to X. - A segment from X to Y. - A segment from Y to Z. - A segment from Z to B. - A segment whose type is `[SegmentType#ARRIVAL](../../com.skedgo.tripkit.routing/-segment-type/ class TripSegment : [IRealTimeElement](./, [ITimeRange`](../../com.skedgo.tripkit.common.model/-i-time-range/