-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.SOURCE) public @interface DirectionErrorCode
Annotation class that defines the direction error codes.
Possible values are:
- OK - Direction calculation success.
- FAILURE - Internal error or initialization failed.
- CANCELLED - Direction calculation failed due to abortion by user.
- BASE_MAP_DATA_ERROR - Operation fails due to base map data issue.
- STREAMING_MAP_DATA_ERROR - Operation fails due to streaming map data issue.
- INVALID_MAP_CONTENT - MapContent service doesn't operate as expected.
- ORIGIN_BLOCKED_BY_TRAFFIC - Original location is not accessible due to traffic block.
- ORIGIN_BLOCKED_BY_RESTRICTION - Original location is not accessible due to restriction.
- INVALID_REQUEST - The request provided is not valid.
- INVALID_ENERGY_CONSUMPTION_MODEL - The energy consumption model provided is not valid.
- CLOUD_SERVICE_ERROR - Cloud service reports error.
- NETWORK_TRANSACTION_ERROR - Network transaction can't be finished correctly.
- OPERATION_ABORTED_BY_CONTENT_SWITCH - Operation is aborted internally to prepare for content switch.
- UNKNOWN_ERROR - Unknown error.
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
OK
public final static int
FAILURE
public final static int
CANCELLED
public final static int
BASE_MAP_DATA_ERROR
public final static int
STREAMING_MAP_DATA_ERROR
public final static int
INVALID_MAP_CONTENT
public final static int
ORIGIN_BLOCKED_BY_TRAFFIC
public final static int
ORIGIN_BLOCKED_BY_RESTRICTION
public final static int
INVALID_REQUEST
public final static int
INVALID_ENERGY_CONSUMPTION_MODEL
public final static int
CLOUD_SERVICE_ERROR
public final static int
NETWORK_TRANSACTION_ERROR
public final static int
OPERATION_ABORTED_BY_CONTENT_SWITCH
public final static int
UNKNOWN_ERROR
-