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

IRealTimeElement

interface IRealTimeElement

Signifies a class is able to fetch timetable information

Functions

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

Inheritors

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/index.md). 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/-a-r-r-i-v-a-l.md).open class TripSegment : [IRealTimeElement](./index.md), [ITimeRange`](../../com.skedgo.tripkit.common.model/-i-time-range/index.md)