public class

DJICameraError

extends DJIError
java.lang.Object
   ↳ dji.sdk.base.DJIError
     ↳ dji.sdk.base.DJICameraError

Class Overview

Defines all camera-related errors.

Summary

Fields
public static final DJICameraError CAMERASDCARDFULL The SDcard in the camera is full.
public static final DJICameraError CAMERA_CANNOT_SET_PARAMETERS_IN_THIS_STATE Cannot set the parameters in this state.
public static final DJICameraError CAMERA_CONNECTION_NOT_OK Camera connection isn't ok.
public static final DJICameraError CAMERA_COULD_NOT_DELETE_ALL_FILES Could not delete all files.
public static final DJICameraError CAMERA_EXEC_TIMEOUT The camera action executed a timeout.
public static final DJICameraError CAMERA_GET_REMOTE_MEDIA_FAILED Failed to get remote media data.
public static final DJICameraError CAMERA_GET_THUMBNAIL_FAILED Get thumbnail picture failed.
public static final DJICameraError CAMERA_INVALID_PARAM Camera invalid parameters.
public static final DJICameraError CAMERA_NO_SDCARD There is no SDcard in camera.
public static final DJICameraError CAMERA_PARAMETERS_GET_FAILED Failed to get the parameters.
public static final DJICameraError CAMERA_PARAMETERS_NOT_AVAILABLE The parameters are not available.
public static final DJICameraError CAMERA_PARAMETERS_SET_FAILED Failed to set the parameters.
public static final DJICameraError CAMERA_SDCARD_ERROR There is an error with the Camera's SD card.
public static final DJICameraError CAMERA_SENSOR_ERROR There is an error with the Camera's sensor.
public static final DJICameraError CAMERA_SYSTEM_ERROR There is some error in the camera system.
public static final DJICameraError CAMERA_UNSUPPORTED_CMD_STATE The camera does not support the command in the current state.
public static final DJICameraError CHECK_PERMISSION_LEVEL1_IS_INVALID Level 1 API permission is invalid.
public static final DJICameraError COMMON_CAMERA_UNKNOWN
public static final DJICameraError MEDIA_INVALID_REQUEST_TYPE Result of media downloading request type is invalid.
public static final DJICameraError MEDIA_NO_SUBMEDIA_FILES No sub media files.
public static final DJICameraError MEDIA_NO_SUCH_FILE Result of media downloading: no such file.
public static final DJICameraError MEDIA_REQUEST_CLIENT_ABORT Result of media downloading: the client aborted the download.
public static final DJICameraError MEDIA_REQUEST_DISCONNECT Result of media downloading: the download link disconnected.
public static final DJICameraError MEDIA_REQUEST_SERVER_ABORT Result of media downloading: the server aborted the download.
[Expand]
Inherited Fields
From class dji.sdk.base.DJIError
Public Methods
static DJIError getDJIError(Ccode ccode)
static DJIError getDJIError(DJIAlbumPullErrorType code)
String getDescription()
Returns the description of the error code.
void setDescription(String desc)
Sets the description for the error code.
[Expand]
Inherited Methods
From class dji.sdk.base.DJIError
From class java.lang.Object

Fields

public static final DJICameraError CAMERASDCARDFULL

The SDcard in the camera is full.
This error will be returned when the SD card in the camera is full.

public static final DJICameraError CAMERA_CANNOT_SET_PARAMETERS_IN_THIS_STATE

Cannot set the parameters in this state.

public static final DJICameraError CAMERA_CONNECTION_NOT_OK

Camera connection isn't ok.

public static final DJICameraError CAMERA_COULD_NOT_DELETE_ALL_FILES

Could not delete all files.

public static final DJICameraError CAMERA_EXEC_TIMEOUT

The camera action executed a timeout.

public static final DJICameraError CAMERA_GET_REMOTE_MEDIA_FAILED

Failed to get remote media data.

public static final DJICameraError CAMERA_GET_THUMBNAIL_FAILED

Get thumbnail picture failed.

public static final DJICameraError CAMERA_INVALID_PARAM

Camera invalid parameters.
This error will be returned when the sent parameters are invalid.

public static final DJICameraError CAMERA_NO_SDCARD

There is no SDcard in camera.
This error will be returned when there is no SD card in the camera.

public static final DJICameraError CAMERA_PARAMETERS_GET_FAILED

Failed to get the parameters.
This error will be returned when getting the camera parameters fails.

public static final DJICameraError CAMERA_PARAMETERS_NOT_AVAILABLE

The parameters are not available.
This error will be returned when there are some errors with the parameters submitted to the camera.

public static final DJICameraError CAMERA_PARAMETERS_SET_FAILED

Failed to set the parameters.
This error will be returned when setting the camera parameters fails.

public static final DJICameraError CAMERA_SDCARD_ERROR

There is an error with the Camera's SD card.
This error will be returned when there is an error with the Camera's SDcard.

public static final DJICameraError CAMERA_SENSOR_ERROR

There is an error with the Camera's sensor.
This error will be returned when there is an error with the Camera's sensor.

public static final DJICameraError CAMERA_SYSTEM_ERROR

There is some error in the camera system.
This error will be returned when there are is error in the system of camera.

public static final DJICameraError CAMERA_UNSUPPORTED_CMD_STATE

The camera does not support the command in the current state.
This error is returned when the camera is busy and the camera is unsupported for the command in the current state.

public static final DJICameraError CHECK_PERMISSION_LEVEL1_IS_INVALID

Level 1 API permission is invalid. This error indicates that the API Key's level 1 permission is invalid.

public static final DJICameraError COMMON_CAMERA_UNKNOWN

public static final DJICameraError MEDIA_INVALID_REQUEST_TYPE

Result of media downloading request type is invalid.

public static final DJICameraError MEDIA_NO_SUBMEDIA_FILES

No sub media files.

public static final DJICameraError MEDIA_NO_SUCH_FILE

Result of media downloading: no such file.

public static final DJICameraError MEDIA_REQUEST_CLIENT_ABORT

Result of media downloading: the client aborted the download.

public static final DJICameraError MEDIA_REQUEST_DISCONNECT

Result of media downloading: the download link disconnected.

public static final DJICameraError MEDIA_REQUEST_SERVER_ABORT

Result of media downloading: the server aborted the download.

Public Methods

public static DJIError getDJIError (Ccode ccode)

public static DJIError getDJIError (DJIAlbumPullErrorType code)

public String getDescription ()

Returns the description of the error code.

public void setDescription (String desc)

Sets the description for the error code.