DynamicRoutingEngine.StartError (API Reference)
Enum Class DynamicRoutingEngine.StartError
java.lang.Object
java.lang.Enum<DynamicRoutingEngine.StartError>
com.here.sdk.trafficawarenavigation.DynamicRoutingEngine.StartError
- All Implemented Interfaces:
Serializable,Comparable<DynamicRoutingEngine.StartError>,Constable
- Enclosing class:
- DynamicRoutingEngine
Start error
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn internal issue occurred.Invalid RefreshRouteOptions passed.The listener is not valid.The passed route object is invalid/null.The passed route has no route handle.Too few waypoints where passed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DynamicRoutingEngine.StartError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERNAL_ERROR
An internal issue occurred. Maybe the logs can provide some information.
-
MISSING_ROUTE
The passed route object is invalid/
null. -
MISSING_ROUTE_HANDLE
The passed route has no route handle.
RouteOptions.enableRouteHandleneeds to be set to true on the initial route calculation. -
MISSING_LISTENER
The listener is not valid.
-
TOO_FEW_WAYPOINTS
Too few waypoints where passed.
-
INVALID_REFRESH_ROUTE_OPTIONS
Invalid RefreshRouteOptions passed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-