Class RouteLabel
Package com.here.sdk.routing
Class RouteLabel
- java.lang.Object
-
- com.here.sdk.routing.RouteLabel
-
public final class RouteLabel extends java.lang.ObjectThe 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 LocalizedTextnameThe street name or route number for the route label.RouteLabelTypetypeThe type of the route label, describing if the route label contains a street name or a route number.
-
Constructor Summary
Constructors Constructor Description RouteLabel(LocalizedText name)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
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.
-
-