tripkit-android / com.skedgo.tripkit.ui.model / TimetableEntry

TimetableEntry

open class TimetableEntry : Parcelable,IRealTimeElement,ITimeRange,WheelchairAccessible

(Aka Service)

Constructors

Name Summary
<init> TimetableEntry()

Properties

Name Summary
CREATOR static val CREATOR: Creator<TimetableEntry!>!
endStop For A2B-timetable-related stuff.var endStop:ScheduledStop!
pairIdentifier For A2B-timetable-related stuff.var pairIdentifier:String!
startStop For A2B-timetable-related stuff.var startStop:ScheduledStop!
stops val stops: Var<MutableList<StopInfo!>!>!
wheelchairAccessible open val wheelchairAccessible:Boolean?

Functions

Name Summary
describeContents open fun describeContents():Int
getAlertHashCodes open fun getAlertHashCodes():ArrayList<Long!>?
getAlerts open fun getAlerts():ArrayList<RealtimeAlert!>!
getEndStopCode open fun getEndStopCode():String!
getEndTimeInSecs open fun getEndTimeInSecs():Long
getFrequency open fun getFrequency():Int
getId open fun getId():Long
getModeInfo open fun getModeInfo():ModeInfo?
getOperator open fun getOperator():String!
getRealTimeArrival open fun getRealTimeArrival():Int
getRealTimeDeparture open fun getRealTimeDeparture():Int
getRealTimeStatus open fun getRealTimeStatus():RealTimeStatus!
getRealtimeVehicle open fun getRealtimeVehicle():RealTimeVehicle!
getSearchString open fun getSearchString():String!
getServiceColor open fun getServiceColor():ServiceColor!
getServiceDirection open fun getServiceDirection():String?
getServiceName open fun getServiceName():String?
getServiceNumber open fun getServiceNumber():String?
getServiceTime In secs.open fun getServiceTime():Long
getServiceTripId open fun getServiceTripId():String!
getStartStopCode open fun getStartStopCode():String!
getStartStopShortName open fun getStartStopShortName():String!
getStartTimeInSecs open fun getStartTimeInSecs():Long
getStopCode open fun getStopCode():String!
hasAlerts open fun hasAlerts():Boolean
isBefore For example, in order to determine a past service trip.open fun isBefore(pointSecs:Long):Boolean
isFavourite open fun isFavourite():Boolean
open fun isFavourite(isFavourite:Boolean):Unit
isFrequencyBased open fun isFrequencyBased():Boolean
setAlertHashCodes open fun setAlertHashCodes(alertHashCodes:ArrayList<Long!>?):Unit
setAlerts open fun setAlerts(alerts:ArrayList<RealtimeAlert!>!):Unit
setEndStopCode open fun setEndStopCode(endStopCode:String!):Unit
setEndTimeInSecs open fun setEndTimeInSecs(endTimeInSecs:Long):Unit
setFrequency open fun setFrequency(freq:Int):Unit
setId open fun setId(id:Long):Unit
setModeInfo open fun setModeInfo(modeInfo:ModeInfo?):Unit
setOperator open fun setOperator(operator:String!):Unit
setRealTimeArrival open fun setRealTimeArrival(realTimeArrival:Int):Unit
setRealTimeDeparture open fun setRealTimeDeparture(realTimeDeparture:Int):Unit
setRealTimeStatus open fun setRealTimeStatus(realTimeStatus:RealTimeStatus!):Unit
setRealtimeVehicle open fun setRealtimeVehicle(realtimeVehicle:RealTimeVehicle!):Unit
setSearchString open fun setSearchString(searchString:String!):Unit
setServiceColor open fun setServiceColor(serviceColor:ServiceColor!):Unit
setServiceDirection open fun setServiceDirection(serviceDirection:String!):Unit
setServiceName open fun setServiceName(serviceName:String!):Unit
setServiceNumber open fun setServiceNumber(serviceNumber:String!):Unit
setServiceTime open fun setServiceTime(serviceTime:Long):Unit
setServiceTripId open fun setServiceTripId(serviceTripId:String!):Unit
setStartStopCode open fun setStartStopCode(startStopCode:String!):Unit
setStartStopShortName open fun setStartStopShortName(startStopShortName:String!):Unit
setStartTimeInSecs open fun setStartTimeInSecs(startTimeInSecs:Long):Unit
setStopCode open fun setStopCode(stopCode:String!):Unit
setWheelchairAccessible open fun setWheelchairAccessible(wheelchairAccessible:Boolean?):Unit
toString For debug purpose only.open fun toString():String
writeToParcel open fun writeToParcel(out: Parcel!, flags:Int):Unit

Extension Functions

Name Summary
getTimeLeftToDepartInterval funTimetableEntry.getTimeLeftToDepartInterval(period:Long, timeUnit:TimeUnit): Observable<Long>