TrafficOnRouteColors (API Reference)
Package com.here.sdk.navigation
Class TrafficOnRouteColors
java.lang.Object
com.here.sdk.navigation.TrafficOnRouteColors
This type contains colors used for the traffic with jam factor greater or equal to 4.0 on route ahead of the current location visualization.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTrafficOnRouteColors(Color slow, Color stationary, Color blocking) Creates a new instance. -
Method Summary
-
Field Details
-
slow
Color used for visualization of the traffic with jam factor in range [4, 8).
-
stationary
Color used for visualization of the traffic with jam factor in range [8, 10).
-
blocking
Color used for visualization of the traffic with jam factor 10.
-
-
Constructor Details
-
TrafficOnRouteColors
public TrafficOnRouteColors(@NonNull Color slow, @NonNull Color stationary, @NonNull Color blocking) Creates a new instance.
- Parameters:
slow-Color used for visualization of the traffic with jam factor in range [4, 8).
stationary-Color used for visualization of the traffic with jam factor in range [8, 10).
blocking-Color used for visualization of the traffic with jam factor 10.
-
-
Method Details