class DJIRemoteControllerError
@EXClassNullAway class DJIRemoteControllerError extends DJIError
|
Package: | dji.common.error |
Inherits From: | DJIError |
Description:
Defines all remote controller related errors.
Class Members:
method getDJIError
static DJIError getDJIError(Ccode ccode)
|
Description:
Returns the specific error in DJIRemoteControllerError according to the error code.
Return:
static DJIError | A DJIError instance of the specific error. |
final FIRMWARE_NON_SEQUENCE
static final DJIRemoteControllerError FIRMWARE_NON_SEQUENCE = new DJIRemoteControllerError("Firmware not pattern")
|
Description:
The sequence number of the firmware is not continuous.
final FIRMWARE_LENGTH_WRONG
static final DJIRemoteControllerError FIRMWARE_LENGTH_WRONG = new DJIRemoteControllerError("Firmware length invalid")
|
Description:
The file size of the firmware is wrong.
final FIRMWARE_CRC_WRONG
static final DJIRemoteControllerError FIRMWARE_CRC_WRONG = new DJIRemoteControllerError("Firmware CRC value invalid")
|
Description:
The check number of the firmware is wrong.
final FLASH_CLEAR_WRONG
static final DJIRemoteControllerError FLASH_CLEAR_WRONG = new DJIRemoteControllerError("Flash clear error")
|
Description:
The clear action of the flash is wrong.
final FLASH_WRITE_WRONG
static final DJIRemoteControllerError FLASH_WRITE_WRONG = new DJIRemoteControllerError("Flash write error")
|
Description:
The write action of the flash is wrong.
final UPDATE_WRONG
static final DJIRemoteControllerError UPDATE_WRONG = new DJIRemoteControllerError("Update error")
|
Description:
The update process is wrong.
final FIRMWARE_MATCH_ERROR
static final DJIRemoteControllerError FIRMWARE_MATCH_ERROR= new DJIRemoteControllerError("Firmware match error")
|
Description:
The firmware does not matched.
final FLASH_FLUSHING
static final DJIRemoteControllerError FLASH_FLUSHING= new DJIRemoteControllerError("Firmware flushing")
|
Description:
The flash is flushing.
final OWNER_OFFLINE_ERROR
static final DJIRemoteControllerError OWNER_OFFLINE_ERROR = new DJIRemoteControllerError("The current rc is offline")
|
Description:
Owner offline.
final DEVICE_OFFLINE_ERROR
static final DJIRemoteControllerError DEVICE_OFFLINE_ERROR = new DJIRemoteControllerError("The device to get permission is offline")
|
Description:
Device offline.
final IS_OWNER_ERROR
static final DJIRemoteControllerError IS_OWNER_ERROR = new DJIRemoteControllerError("Already have control permissions for this device")
|
Description:
Is owner.
final DEVICE_LOCKED_ERROR
static final DJIRemoteControllerError DEVICE_LOCKED_ERROR= new DJIRemoteControllerError("The device to get permission is locked")
|
Description:
Device locked.
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. |