class DJIPayloadError
class DJIPayloadError extends DJIError
|
Package: | dji.common.error |
Inherits From: | DJIError |
Description:
Errors related to the payload.
Class Members:
Members
final COMMAND_CAN_NOT_BE_EXECUTED_IN_CURRENT_MODE
static final DJIError COMMAND_CAN_NOT_BE_EXECUTED_IN_CURRENT_MODE = new DJIError("The command is not supported by the current payload mode.")
|
Description:
The command cannot be executed in current payload mode. See PayloadProductPhase
.
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. |