-
- 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 intOKpublic final static intFAILUREpublic final static intCANCELLEDpublic final static intBASE_MAP_DATA_ERRORpublic final static intSTREAMING_MAP_DATA_ERRORpublic final static intINVALID_MAP_CONTENTpublic final static intORIGIN_BLOCKED_BY_TRAFFICpublic final static intORIGIN_BLOCKED_BY_RESTRICTIONpublic final static intINVALID_REQUESTpublic final static intINVALID_ENERGY_CONSUMPTION_MODELpublic final static intCLOUD_SERVICE_ERRORpublic final static intNETWORK_TRANSACTION_ERRORpublic final static intOPERATION_ABORTED_BY_CONTENT_SWITCHpublic final static intUNKNOWN_ERROR
-