Skip to end of metadata
Go to start of metadata

Defines the transit details.

Definition

public class TransitDetails

Summary

The following table summarizes the members exposed in this class.

Public Constructors

TransitDetails Constructor() Initializes a new instance of the TransitDetails class.

Public Properties

ArrivalStop Contains information about the stop/station for this part of the trip
ArrivalTime Contain the arrival times for this leg of the journey
DepartureStop Contains information about the stop/station for this part of the trip.
DepartureTime Contain the departure times for this leg of the journey
Headsign Specifies the direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station.
Headway Specifies the expected number of seconds between departures from the same stop at this time. For example, with a headway value of 600, you would expect a ten minute wait if you should miss your bus.
Lines Contains information about the transit line used in this step.
NumberOfStops Contains the number of stops in this step, counting the arrival stop, but not the departure stop. For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D, num_stops will return 3.

Public Constructors

public TransitDetails()

Public Properties

public Stop ArrivalStop { get; set; }

Contains information about the stop/station for this part of the trip

public Duration ArrivalTime { get; set; }

Contain the arrival times for this leg of the journey

public Stop DepartureStop { get; set; }

Contains information about the stop/station for this part of the trip.

public Duration DepartureTime { get; set; }

Contain the departure times for this leg of the journey

public string Headsign { get; set; }

Specifies the direction in which to travel on this line, as it is marked on the vehicle or at the departure stop. This will often be the terminus station.

public int Headway { get; set; }

Specifies the expected number of seconds between departures from the same stop at this time. For example, with a headway value of 600, you would expect a ten minute wait if you should miss your bus.

public Line Lines { get; set; }

Contains information about the transit line used in this step.

public int NumberOfStops { get; set; }

Contains the number of stops in this step, counting the arrival stop, but not the departure stop. For example, if your directions involve leaving from Stop A, passing through stops B and C, and arriving at stop D, num_stops will return 3.

  • No labels