Package-level declarations
Types
Link copied to clipboard
data class Alert(val activePeriod: List<TimeRange> = emptyList(), val communicationPeriod: List<TimeRange> = emptyList(), val impactPeriod: List<TimeRange> = emptyList(), val informedEntity: List<EntitySelector> = emptyList(), val cause: Alert.Cause = Cause.UnknownCause, val effect: Alert.Effect = Effect.UnknownEffect, val url: TranslatedString? = null, val headerText: TranslatedString? = null, val descriptionText: TranslatedString? = null, val ttsHeaderText: TranslatedString? = null, val ttsDescriptionText: TranslatedString? = null, val severityLevel: Alert.SeverityLevel = SeverityLevel.UnknownSeverity, val image: TranslatedImage? = null, val imageAlternativeText: TranslatedString? = null, val causeDetail: TranslatedString? = null, val effectDetail: TranslatedString? = null)
A service alert in the realtime feed.
Link copied to clipboard
data class EntitySelector(val agencyId: String? = null, val routeId: String? = null, val routeType: Int? = null, val trip: TripDescriptor? = null, val stopId: String? = null, val directionId: Int? = null)
Selects an affected GTFS entity.
Link copied to clipboard
data class FeedEntity(val id: String, val isDeleted: Boolean = false, val tripUpdate: TripUpdate? = null, val vehicle: VehiclePosition? = null, val alert: Alert? = null, val shape: Shape? = null, val stop: Stop? = null, val tripModifications: TripModifications? = null)
A single realtime entity in the feed.
Link copied to clipboard
data class FeedHeader(val gtfsRealtimeVersion: String, val incrementality: FeedHeader.Incrementality = Incrementality.FullDataset, val timestamp: Long? = null, val feedVersion: String? = null)
Feed-level metadata.
Link copied to clipboard
The root GTFS Realtime feed payload.
Link copied to clipboard
HTTP client for fetching GTFS Realtime feeds.
Link copied to clipboard
object GtfsRealtimeProto
Binary GTFS Realtime protobuf codec.
Link copied to clipboard
A replacement stop for a trip modification.
Link copied to clipboard
A realtime detour shape.
Link copied to clipboard
data class Stop(val stopId: String? = null, val stopCode: TranslatedString? = null, val stopName: TranslatedString? = null, val ttsStopName: TranslatedString? = null, val stopDesc: TranslatedString? = null, val stopLat: Float? = null, val stopLon: Float? = null, val zoneId: String? = null, val stopUrl: TranslatedString? = null, val parentStation: String? = null, val stopTimezone: TimeZoneId? = null, val wheelchairBoarding: Stop.WheelchairBoarding = WheelchairBoarding.Unknown, val levelId: String? = null, val platformCode: TranslatedString? = null)
A stop dynamically added to the feed.
Link copied to clipboard
Selects a stop by sequence or stop ID.
Link copied to clipboard
A time interval for alert display.
Link copied to clipboard
Internationalized image metadata.
Link copied to clipboard
Internationalized text content.
Link copied to clipboard
data class TripDescriptor(val tripId: String? = null, val routeId: String? = null, val directionId: Int? = null, val startTime: String? = null, val startDate: String? = null, val scheduleRelationship: TripDescriptor.ScheduleRelationship? = null, val modifiedTrip: TripDescriptor.ModifiedTripSelector? = null)
Identifies a trip instance or set of trips.
Link copied to clipboard
data class TripModifications(val selectedTrips: List<TripModifications.SelectedTrips> = emptyList(), val startTimes: List<String> = emptyList(), val serviceDates: List<String> = emptyList(), val modifications: List<TripModifications.Modification> = emptyList())
Realtime trip modifications such as detours.
Link copied to clipboard
data class TripUpdate(val trip: TripDescriptor, val vehicle: VehicleDescriptor? = null, val stopTimeUpdate: List<TripUpdate.StopTimeUpdate> = emptyList(), val timestamp: Long? = null, val delay: Int? = null, val tripProperties: TripUpdate.TripProperties? = null)
Realtime progress information for a trip.
Link copied to clipboard
data class VehicleDescriptor(val id: String? = null, val label: String? = null, val licensePlate: String? = null, val wheelchairAccessible: VehicleDescriptor.WheelchairAccessible = WheelchairAccessible.NoValue)
Identifies the vehicle serving a trip.
Link copied to clipboard
data class VehiclePosition(val trip: TripDescriptor? = null, val vehicle: VehicleDescriptor? = null, val position: Position? = null, val currentStopSequence: Int? = null, val stopId: String? = null, val currentStatus: VehiclePosition.VehicleStopStatus = VehicleStopStatus.InTransitTo, val timestamp: Long? = null, val congestionLevel: VehiclePosition.CongestionLevel? = null, val occupancyStatus: VehiclePosition.OccupancyStatus? = null, val occupancyPercentage: Int? = null, val multiCarriageDetails: List<VehiclePosition.CarriageDetails> = emptyList())
Realtime positioning information for a vehicle.