Class TransitSectionDetails
Package com.here.sdk.routing
Class TransitSectionDetails
- java.lang.Object
-
- com.here.sdk.routing.TransitSectionDetails
-
public final class TransitSectionDetails extends java.lang.ObjectGives the details of a transit section.
-
-
Field Summary
Fields Modifier and Type Field Description AgencyagencyContains information about a particular agency.java.util.List<Attribution>attributionsList of required attributions to display.java.util.List<Fare>faresList of tickets to pay for this section of the route.java.util.List<TransitIncident>incidentsA list of all incidents that apply to the section.java.util.List<TransitStop>intermediateStopsAll the intermediate stops between departure and destination of this section.TransitTransporttransportTransit transport information.
-
Constructor Summary
Constructors Constructor Description TransitSectionDetails(Agency agency)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
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.
-
-