class DJILDMError
@EXClassNullAway class DJILDMError extends DJIError
|
Package: | dji.common.error |
Inherits From: | DJIError |
Description:
Errors related to the LDM.
Class Members:
Members
final NETWORK_ACCESS_FAILED
static final DJILDMError NETWORK_ACCESS_FAILED = new DJILDMError("Network access failed!")
|
Description:
Network access failed.
final SIGN_ERROR
static final DJILDMError SIGN_ERROR = new DJILDMError("Signature error")
|
Description:
Signature error.
final AREA_CODE_RESTRICTED
static final DJILDMError AREA_CODE_RESTRICTED = new DJILDMError("LDM is not supported in the current area")
|
Description:
LDM is not supported in the current area.
final APP_NOT_FOUND
static final DJILDMError APP_NOT_FOUND = new DJILDMError("App does not exist")
|
Description:
App does not exist.
final LDM_LICENSE_NOT_VALID
static final DJILDMError LDM_LICENSE_NOT_VALID = new DJILDMError("No valid LDM certificate exists")
|
Description:
No valid LDM certificate exists.
final CLIENT_TIME_NOT_VALID
static final DJILDMError CLIENT_TIME_NOT_VALID = new DJILDMError("Client's current time is invalid")
|
Description:
Client's current time is invalid.
final LICENSE_OUTDATED
static final DJILDMError LICENSE_OUTDATED = new DJILDMError("License has expired!")
|
Description:
License has expired.
final UNAVAILABLE
static final DJILDMError UNAVAILABLE = new DJILDMError("Only available when the Local Data Mode is enabled.")
|
Description:
Only available when the Local Data Mode is enabled.
final LDM_NETWORK_ACCESS_FAILED
static final DJILDMError LDM_NETWORK_ACCESS_FAILED = new DJILDMError("In Local Data Mode. Network access failed!")
|
Description:
In Local Data Mode. Network access failed!
final LDM_UNKNOWN_ERROR
static final DJILDMError LDM_UNKNOWN_ERROR = new DJILDMError("LDM unknown error")
|
Description:
LDM unknown error.
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. |