Class TransportSpecification

  • java.lang.Object
    • com.here.sdk.transport.TransportSpecification

  • public final class TransportSpecification
    extends java.lang.Object

    Contains transport attributes details related to the transport mode.

    • Field Detail

      • transportMode

        @NonNull
        public TransportMode transportMode

        Transport mode. Defaults to CAR.

      • vehicleSpecification

        @Nullable
        public VehicleSpecification vehicleSpecification

        The vehicle specification for the transport mode. By default, it is not set.

      • pedestrianSpecification

        @Nullable
        public PedestrianSpecification pedestrianSpecification

        The pedestrian specification for the transport mode. By default, it is not set.

      • taxiSpecification

        @Nullable
        public TaxiSpecification taxiSpecification

        The taxi specification for the transport mode. By default, it is not set.

      • scooterSpecification

        @Nullable
        public ScooterSpecification scooterSpecification

        The scooter specification for the transport mode. By default, it is not set.

    • Constructor Detail

      • TransportSpecification

        public TransportSpecification()

        Creates a new instance.

    • 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