Class TransitStop

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

  • public final class TransitStop
    extends java.lang.Object

    A transit stop between the departure and destination of a transit section.

    • Field Detail

      • duration

        @Nullable
        public Duration duration

        Stop duration. If not set, the vehicle departs as soon as people are on board. Defaults to null.

    • Constructor Detail

      • TransitStop

        public TransitStop​(@NonNull
                           TransitDeparture departure)

        Creates a new instance.

        Parameters:
        departure -

        Departure.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object