alerts property

List<PTAlertInfo> alerts
final

GTFS-RT service alerts applicable to this trip.

Shares PTAlertInfo instances with PTStopInfo.alerts. Empty when no alerts apply.

A PTAlertEffect.noService alert overlaps with isCancelledisCancelled remains the authoritative cancellation flag; the alert supplies the user-facing reason.

Implementation

final List<PTAlertInfo> alerts;