class DJIUTMISSError
class DJIUTMISSError extends DJIError
|
Package: | dji.sdk.utmiss |
Inherits From: | DJIError |
Description:
Errors related to the UTMISS.
Class Members:
Members
final ORDER_OF_FUNC
static final DJIUTMISSError ORDER_OF_FUNC = new DJIUTMISSError("You need to call start first!", -0x01)
|
Description:
Wrong order of invoking functions. Failed to initialize.
final INVALID_DB
static final DJIUTMISSError INVALID_DB = new DJIUTMISSError("Db create failed!", -0x02)
|
Description:
Failed to create database.
final CACHE_FAILED
static final DJIUTMISSError CACHE_FAILED = new DJIUTMISSError("Db insert failed!", -0x03)
|
Description:
Failed to insert the data. The data has been lost.
final EMPTY_DB
static final DJIUTMISSError EMPTY_DB = new DJIUTMISSError("Db is empty!", -0x04)
|
Description:
The database is currently empty.
final UPLOAD_FAILED
static final DJIUTMISSError UPLOAD_FAILED = new DJIUTMISSError("Upload failed!", -0x05)
|
Description:
Failed to upload. Request code is bigger than 299.
final AREA_NOT_SUPPORTED
static final DJIUTMISSError AREA_NOT_SUPPORTED = new DJIUTMISSError("Area is not supported!", -0xF0)
|
Description:
Current area does not support this function.
final UTMISS_HAD_STARTED
static final DJIUTMISSError UTMISS_HAD_STARTED = new DJIUTMISSError("UTMISS had started!", -0xF1)
|
Description:
UTMISS has started already.
Inherited Methods:
dji.common.error.DJIError
method
method getDJIError
static DJIError getDJIError(int errorCode)
|
Description:
Returns the specific error in the DJIFlightHubError
according to the error code.
Return:
static DJIError | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
method getDJIError
static DJIError getDJIError(int errorCode)
|
Description:
Get DJIUTMISSError.
int errorCode | An int value of error code. |
Return:
method getDescription
Description:
Returns the description of the error code.
Return:
String | The description of the error code. |
method setDescription
void setDescription(String desc)
|
Description:
Sets the description for the error code.
String desc | Description string. |