class DJIGimbalError
@EXClassNullAway class DJIGimbalError extends DJIError
|
Package: | dji.common.error |
Inherits From: | DJIError |
Description:
Defines all gimbal related errors.
Class Members:
method getDJIError
static DJIError getDJIError(Ccode ccode)
|
Description:
Returns the specific error in DJIGimbalError according to the error code.
Return:
static DJIError | A DJIError instance of the specific error. |
final RESULT_FAILED
static final DJIGimbalError RESULT_FAILED = new DJIGimbalError("Failed")
|
Description:
Gimbal Result Failed.
final CANNOT_SET_PARAMETERS_IN_THIS_STATE
static final DJIGimbalError CANNOT_SET_PARAMETERS_IN_THIS_STATE = new DJIGimbalError("Cannot set the parameters in this state")
|
Description:
Cannot set the parameters in this state.
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. |