Show / Hide Table of Contents

Class RouteLegStepTransitDetails

Additional information for the RouteLegStep related to TRANSIT routes.

Inheritance
object
RouteLegStepTransitDetails
Implements
IMessage<RouteLegStepTransitDetails>
IEquatable<RouteLegStepTransitDetails>
IDeepCloneable<RouteLegStepTransitDetails>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class RouteLegStepTransitDetails : IMessage<RouteLegStepTransitDetails>, IEquatable<RouteLegStepTransitDetails>, IDeepCloneable<RouteLegStepTransitDetails>, IBufferMessage, IMessage

Constructors

RouteLegStepTransitDetails()

Declaration
public RouteLegStepTransitDetails()

RouteLegStepTransitDetails(RouteLegStepTransitDetails)

Declaration
public RouteLegStepTransitDetails(RouteLegStepTransitDetails other)
Parameters
Type Name Description
RouteLegStepTransitDetails other

Properties

Headsign

Specifies the direction in which to travel on this line as marked on the vehicle or at the departure stop. The direction is often the terminus station.

Declaration
public string Headsign { get; set; }
Property Value
Type Description
string

Headway

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

Declaration
public Duration Headway { get; set; }
Property Value
Type Description
Duration

LocalizedValues

Text representations of properties of the RouteLegStepTransitDetails.

Declaration
public RouteLegStepTransitDetails.Types.TransitDetailsLocalizedValues LocalizedValues { get; set; }
Property Value
Type Description
RouteLegStepTransitDetails.Types.TransitDetailsLocalizedValues

StopCount

The number of stops from the departure to the arrival stop. This count includes the arrival stop, but excludes the departure stop. For example, if your route leaves from Stop A, passes through stops B and C, and arrives at stop D, <code>stop_count</code> returns 3.

Declaration
public int StopCount { get; set; }
Property Value
Type Description
int

StopDetails

Information about the arrival and departure stops for the step.

Declaration
public RouteLegStepTransitDetails.Types.TransitStopDetails StopDetails { get; set; }
Property Value
Type Description
RouteLegStepTransitDetails.Types.TransitStopDetails

TransitLine

Information about the transit line used in this step.

Declaration
public TransitLine TransitLine { get; set; }
Property Value
Type Description
TransitLine

TripShortText

The text that appears in schedules and sign boards to identify a transit trip to passengers. The text should uniquely identify a trip within a service day. For example, "538" is the trip_short_text of the Amtrak train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.

Declaration
public string TripShortText { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX