Class Lane

java.lang.Object
com.here.sdk.navigation.Lane

public final class Lane extends Object

A class that provides information for a lane.

  • Field Details

    • type

      @NonNull public LaneType type

      Indicates the properties of this lane. For example, it indicates whether parking is allowed, if it is an acceleration lane, an express lane, or other attributes.

    • recommendationState

      @NonNull public LaneRecommendationState recommendationState

      Indicates if this lane leads to the upcoming maneuvers.

    • access

      @NonNull public LaneAccess access

      Indicates which vehicle types can access this lane.

    • laneMarkings

      @NonNull public LaneMarkings laneMarkings

      Indicates the lane markings between the lanes.

    • directions

      @NonNull public List<LaneDirection> directions

      Indicates all the lane directions that are available for this lane.

    • directionsOnRoute

      @NonNull public List<LaneDirection> directionsOnRoute

      Indicates the lane directions that are on the route. Following these directions keeps the driver on the route. This is a subset of directions.

  • Constructor Details

    • Lane

      public Lane(@NonNull LaneType type, @NonNull LaneRecommendationState recommendationState, @NonNull LaneAccess access, @NonNull LaneMarkings laneMarkings, @NonNull List<LaneDirection> directions, @NonNull List<LaneDirection> directionsOnRoute)

      Creates a new instance.

      Parameters:
      type -

      Indicates the properties of this lane. For example, it indicates whether parking is allowed, if it is an acceleration lane, an express lane, or other attributes.

      recommendationState -

      Indicates if this lane leads to the upcoming maneuvers.

      access -

      Indicates which vehicle types can access this lane.

      laneMarkings -

      Indicates the lane markings between the lanes.

      directions -

      Indicates all the lane directions that are available for this lane.

      directionsOnRoute -

      Indicates the lane directions that are on the route. Following these directions keeps the driver on the route. This is a subset of directions.

    • Lane

      public Lane(@NonNull LaneType type, @NonNull LaneAccess access, @NonNull LaneMarkings laneMarkings, @NonNull List<LaneDirection> directions, @NonNull List<LaneDirection> directionsOnRoute)

      Creates a new instance.

      Parameters:
      type -

      Indicates the properties of this lane. For example, it indicates whether parking is allowed, if it is an acceleration lane, an express lane, or other attributes.

      access -

      Indicates which vehicle types can access this lane.

      laneMarkings -

      Indicates the lane markings between the lanes.

      directions -

      Indicates all the lane directions that are available for this lane.

      directionsOnRoute -

      Indicates the lane directions that are on the route. Following these directions keeps the driver on the route. This is a subset of directions.

  • Method Details