delay property
The current schedule deviation for the trip. Delay should only be specified when the prediction is given relative to some existing schedule in GTFS.
Delay (in seconds) can be positive (meaning that the vehicle is late) or negative (meaning that the vehicle is ahead of schedule). Delay of 0 means that the vehicle is exactly on time.
Delay information in StopTimeUpdates take precedent of trip-level delay information, such that trip-level delay is only propagated until the next stop along the trip with a StopTimeUpdate delay value specified.
Feed providers are strongly encouraged to provide a TripUpdate.timestamp value indicating when the delay value was last updated, in order to evaluate the freshness of the data.
NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
Implementation
@$pb.TagNumber(5)
$core.int get delay => $_getIZ(4);
Implementation
@$pb.TagNumber(5)
set delay($core.int v) { $_setSignedInt32(4, v); }