public static enum RouteManager.Error extends java.lang.Enum<RouteManager.Error>
Enum Constant and Description |
---|
CANNOT_DO_PEDESTRIAN
A
PEDESTRIAN transport mode was set but was
not practical (possibly the route is too long). |
GRAPH_DISCONNECTED
No route was found.
|
GRAPH_DISCONNECTED_CHECK_OPTIONS
No route was found, one of the
RouteOptions might be preventing calculation. |
INVALID_CREDENTIALS
The route cannot be calculated because the HERE Developer credentials are invalid or were
not provided.
|
INVALID_OPERATION
The operation is not allowed at this time because another request is in progress.
|
INVALID_PARAMETERS
Parameters passed to
RouteManager.calculateRoute(RoutePlan,Listener) were
invalid. |
NO_CONNECTIVITY
No internet connection is available.
|
NO_END_POINT
No end point was found.
|
NO_END_POINT_CHECK_OPTIONS
The end point is unreachable, possibly due to one of the
RouteOptions . |
NO_START_POINT
No start point was found.
|
NONE
There was no calculation error.
|
OPERATION_NOT_ALLOWED
The required permission to use Online Public Transport Routing or Traffic Enabled Car
Routing is missing.
|
OUT_OF_MEMORY
An out-of-memory error prevented calculation.
|
REQUEST_TIMEOUT
The online route calculation request has timed out.
|
ROUTE_CORRUPTED
Could not decode the route as received from the server.
|
ROUTING_CANCELLED
An application user cancelled the calculation.
|
UNKNOWN
There was an unknown error preventing calculation.
|
VIOLATES_OPTIONS
A route was found but is invalid because it makes use of roads that were disabled by
RouteOptions . |
Modifier and Type | Method and Description |
---|---|
static RouteManager.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteManager.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteManager.Error NONE
public static final RouteManager.Error UNKNOWN
public static final RouteManager.Error OUT_OF_MEMORY
public static final RouteManager.Error INVALID_PARAMETERS
RouteManager.calculateRoute(RoutePlan,Listener)
were
invalid.public static final RouteManager.Error INVALID_OPERATION
public static final RouteManager.Error GRAPH_DISCONNECTED
public static final RouteManager.Error GRAPH_DISCONNECTED_CHECK_OPTIONS
RouteOptions
might be preventing calculation.public static final RouteManager.Error NO_START_POINT
public static final RouteManager.Error NO_END_POINT
public static final RouteManager.Error NO_END_POINT_CHECK_OPTIONS
RouteOptions
.public static final RouteManager.Error CANNOT_DO_PEDESTRIAN
PEDESTRIAN
transport mode was set but was
not practical (possibly the route is too long).public static final RouteManager.Error ROUTING_CANCELLED
public static final RouteManager.Error VIOLATES_OPTIONS
RouteOptions
.public static final RouteManager.Error ROUTE_CORRUPTED
public static final RouteManager.Error INVALID_CREDENTIALS
public static final RouteManager.Error REQUEST_TIMEOUT
public static final RouteManager.Error OPERATION_NOT_ALLOWED
public static final RouteManager.Error NO_CONNECTIVITY
public static RouteManager.Error[] values()
for (RouteManager.Error c : RouteManager.Error.values()) System.out.println(c);
public static RouteManager.Error valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null