class DJIUpgradeError
class DJIUpgradeError extends DJIError
|
| Package: | dji.common.error |
| Inherits From: | DJIError |
Description:
Errors related to the upgrade.
Class Members:
Members
final IN_WIFI_LINK
static final DJIUpgradeError IN_WIFI_LINK = new DJIUpgradeError("Cannot upgrade when using wifi link.")
|
Description:
Cannot upgrade when using WiFiLink.
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. |