class ShootPhotoActionError
class ShootPhotoActionError extends DJIError
Package: dji.sdk.mission.error Inherits From: DJIError
Description:
Error codes for ShootPhotoAction
specific errors.
Class Members:
Members
final INVALID_PHOTO_COUNT
static final ShootPhotoActionError INVALID_PHOTO_COUNT = new ShootPhotoActionError("Invalid value for photo count" )
Package: dji.sdk.mission.error
Description:
Invalid value for photo count.
final INVALID_TIME_INTERVAL
static final ShootPhotoActionError INVALID_TIME_INTERVAL = new ShootPhotoActionError("Invalid value for time interval. JPEG interval range is [2s, 30s], RAW interval range is in [10s, 30]" )
Package: dji.sdk.mission.error
Description:
Invalid value for time interval.
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.