public static enum TrafficUpdater.Error extends java.lang.Enum<TrafficUpdater.Error>
| Enum Constant and Description |
|---|
INVALID_CREDENTIALS
HERE Developer credentials are invalid or were not provided
|
INVALID_OPERATION
Operation not allowed at the time of the call because another request is already in
progress
|
INVALID_PARAMETERS
Invalid parameters
|
NONE
No error.
|
OPERATION_NOT_ALLOWED
Access to this operation is denied.
|
OUT_OF_MEMORY
Out of memory
|
REQUEST_FAILED
Operation failed.Usually happens when traffic request is initiated when map is
moving,panning or when network connection is not available
|
UNKNOWN
Generic error
|
UNSUPPORTED_ROUTE_MODE
The route mode is not supported by TrafficUpdater
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static TrafficUpdater.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrafficUpdater.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficUpdater.Error NONE
public static final TrafficUpdater.Error INVALID_PARAMETERS
public static final TrafficUpdater.Error OUT_OF_MEMORY
public static final TrafficUpdater.Error INVALID_OPERATION
public static final TrafficUpdater.Error REQUEST_FAILED
public static final TrafficUpdater.Error INVALID_CREDENTIALS
public static final TrafficUpdater.Error UNKNOWN
public static final TrafficUpdater.Error UNSUPPORTED_ROUTE_MODE
public static final TrafficUpdater.Error OPERATION_NOT_ALLOWED
public static TrafficUpdater.Error[] values()
for (TrafficUpdater.Error c : TrafficUpdater.Error.values()) System.out.println(c);
public static TrafficUpdater.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 nullpublic int value()