Class RouteLabel

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

  • public final class RouteLabel
    extends java.lang.Object

    The main street name or road number for a route. A route can contain more than one such street name or route number. To include route labels in the route response, enable it using RouteOptions.enableRouteLabels.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      LocalizedText name
      The street name or route number for the route label.
      RouteLabelType type
      The type of the route label, describing if the route label contains a street name or a route number.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        @NonNull
        public LocalizedText name

        The street name or route number for the route label.

      • type

        @NonNull
        public RouteLabelType type

        The type of the route label, describing if the route label contains a street name or a route number.

    • Constructor Detail

      • RouteLabel

        public RouteLabel​(@NonNull
                          LocalizedText name)

        Creates a new instance.

        Parameters:
        name -

        The street name or route number for the route label.

    • 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