Class TransitSectionDetails
- Last UpdatedMay 13, 2025
- 1 minute read
Package com.here.sdk.routing
- java.lang.Object
-
- com.here.sdk.routing.TransitSectionDetails
-
public final class TransitSectionDetails extends java.lang.Object
Gives the details of a transit section.
-
-
Field Summary
Fields Modifier and Type Field Description Agency
agency
Contains information about a particular agency.java.util.List<Attribution>
attributions
List of required attributions to display.java.util.List<Fare>
fares
List of tickets to pay for this section of the route.java.util.List<TransitIncident>
incidents
A list of all incidents that apply to the section.java.util.List<TransitStop>
intermediateStops
All the intermediate stops between departure and destination of this section.TransitTransport
transport
Transit transport information.
-
Constructor Summary
Constructors Constructor Description TransitSectionDetails(Agency agency)
Creates a new instance.
-
-
-
Field Detail
-
transport
@Nullable public TransitTransport transport
Transit transport information.
-
intermediateStops
@NonNull public java.util.List<TransitStop> intermediateStops
All the intermediate stops between departure and destination of this section.
-
agency
@NonNull public Agency agency
Contains information about a particular agency.
-
attributions
@NonNull public java.util.List<Attribution> attributions
List of required attributions to display.
-
fares
@NonNull public java.util.List<Fare> fares
List of tickets to pay for this section of the route.
Note: Currently, fare information is not supported and the list will be always empty.
-
incidents
@NonNull public java.util.List<TransitIncident> incidents
A list of all incidents that apply to the section.
-
-
Constructor Detail
-
TransitSectionDetails
public TransitSectionDetails(@NonNull Agency agency)
Creates a new instance.
- Parameters:
agency
-Contains information about a particular agency.
-
-