class DataProtectionError
@EXClassNullAway class DataProtectionError extends DJIError
|
Package: | dji.sdk.dataprotection |
Inherits From: | DJIError |
Description:
The class for all errors related to data protection.
Class Members:
final CANNOT_ADD_AUTHORIZATION
static final DataProtectionError CANNOT_ADD_AUTHORIZATION = new DataProtectionError("Cannot authorize this type data.")
|
Package: | dji.sdk.dataprotection |
Description:
The authorization of this type of data has failed.
final CANNOT_REMOVE_AUTHORIZATION
static final DataProtectionError CANNOT_REMOVE_AUTHORIZATION = new DataProtectionError("Cannot remove authorization for this type data.")
|
Package: | dji.sdk.dataprotection |
Description:
The removal of this type of data's authorization has failed.
final NO_HARDWARE_INFO_AUTHORIZATION
static final DataProtectionError NO_HARDWARE_INFO_AUTHORIZATION = new DataProtectionError("Do not have authorization for hardware information .")
|
Package: | dji.sdk.dataprotection |
Description:
SDK does not have authorization to access hardware information.
final NOT_ENOUGH_AUTHORIZATION
static final DataProtectionError NOT_ENOUGH_AUTHORIZATION = new DataProtectionError("Do not have enough authorization to access data.")
|
Package: | dji.sdk.dataprotection |
Description:
SDK does not have authorization to access some privacy related information.
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. |