• java.lang.Object
    • com.here.sdk.routing.TransitSectionDetails

  • public final class TransitSectionDetails
    extends java.lang.Object

    Gives the details of a transit section.

    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.