DJI Mobile SDK Documentation

      class DJIValue

      interface DJIValue
      Package:dji.sdk.keyvalue.value.base
      Description:

      Base class of all value to be used with the valued interface and the DJIKeyManager.

      Class Members:

      Gimbal

      enum GimbalResetType
      enum GimbalResetType implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Gimbal reset mode.

      Enum Members:
      PITCH_YAWReset the pitch and yaw axes back to center.
      ONLY_PITCHOnly reset the pitch axis back to center.
      ONLY_YAWOnly reset the yaw axis back to center.
      ONLY_ROLLOnly reset the roll axis back to center.
      PITCH_UP_OR_DOWN_WITH_YAW_CENTERReset the pitch axis down or up and reset the yaw axis back to center. Face up when the gimbal is down, face down when the gimbal is up.
      PITCH_UP_OR_DOWNOnly reset the pitch axis down or up. Face up when the gimbal is down, face down when the gimbal is up.
      Class Members:
      enum GimbalAngleRotationMode
      enum GimbalAngleRotationMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Gimbal angle rotation mode.

      Enum Members:
      RELATIVE_ANGLERelative angle mode. The rotation value set here is the angle value relative to the current angle of the gimbal. For example, pitch rotation value is set to 30 degrees, then the gimbal will rotate upward by 30 degrees based on current pitch angle.
      ABSOLUTE_ANGLEAbsolute angle mode. 0 degree is current attitude angle of aircraft. For example, pitch rotation value is set to 30 degrees, then the gimbal will rotate upward by 30 degrees based on current aircraft pitch angle.
      Class Members:
      enum GimbalCalibrationState
      enum GimbalCalibrationState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Gimbal automatic calibration status.

      Enum Members:
      IDLECalibration not started or calibration completed.
      IN_PROGRESSCalibrating.
      FAILEDCalibration failed.
      Class Members:
      enum GimbalMode
      enum GimbalMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.gimbal
      Description:

      Gimbal working mode.

      Enum Members:
      FREEGimbal free mode. In this mode, even if the aircraft attitude changed, the gimbal and camera attitude will remain the same.
      YAW_FOLLOWGimbal yaw following mode. In this mode, the yaw angle of gimbal will changed with the yaw angle of aircraft, and the pitch and roll angles of gimbal and camera are free to be controlled
      FPVGimbal FPV mode. In this mode, the yaw and roll angles of gimbal will changed with the yaw and roll angles of aircraft.
      Class Members:


      Camera

      Gain Mode
      enum
      enum ThermalGainMode
      enum ThermalGainMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Thermal gain mode.

      Enum Members:
      LOWLow gain mode.
      HIGHHigh gain mode.
      Class Members:
      Display Mode
      enum
      enum ThermalDisplayMode
      enum ThermalDisplayMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Display mode of infrared lens.

      Enum Members:
      THERMAL_ONLYInfrared explicit mode. Only the thermal image of the infrared camera is displayed.
      PIPSplit screen display mode. The images of the infrared camera and the zoom camera are displayed in a left-right split screen.
      Class Members:
      store information
      enum
      enum CameraStorageLocation
      enum CameraStorageLocation implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Camera store type.

      Enum Members:
      SDCARDSD Card.
      INTERNALOnboard memory.
      Class Members:
      Video Resolution
      enum
      enum VideoResolution
      enum VideoResolution implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Type of video resolution.

      Enum Members:
      RESOLUTION_640x512The video resolution is 640x512.
      RESOLUTION_1920x1080The video resolution is 1920x1080.
      RESOLUTION_3840x2160The video resolution is 3840x2160.
      Class Members:
      enum CameraThermalPalette
      enum CameraThermalPalette implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Thermal palette. Distinct colors are used to show temperature differences in the thermal image, which are related to grayscale intensity. The temperature range of the image is mapped to 256 colors and displayed in the 8-bit JPEG or MP4 format.

      Enum Members:
      WHITE_HOTWhite Hot. The most commonly used pseudo color, using white for high temperatures and black for low temperatures, which is a natural association for people.
      BLACK_HOTBlack Hot. The opposite to White Hot, using black for warmer objects and white for cooler objects. The heat distribution of high temperature targets can be better observed when outdoors.
      RED_HOT红热。低温使用黑白色,高温使用醒目的红色,可以快速检测高温目标。适用于高对比度环境,在夜间准确、快速地找到高温目标。在DJI Pilot中显示为描红。 //TODO:这部分翻译需要对照pilot。
      IRONBOW1Iron Red. This palette displays nuanced differences in heat signatures, quickly displaying anomalies and human bodies. Hotter objects appear as light warm colors and colder objects appear as dark cool colors.
      COLOR2Hot Iron. Red represents high temperatures, and cool colors represent low temperatures. It is able to identify hot targets quickly, while showing the details of cool targets.
      ICE_FIREArctic. Uses the same palette as Medical, except switching the purple for a cool blue to better reflect temperature changes.
      GREEN_HOTGreen Hot. Use different colors to show small temperature differences, best suited for scenes with small heat changes. In low contrast conditions, objects and slight temperature changes can still be detected, and it is now commonly used in the medical field to better display the temperature distribution of the human body. Appears as Medical in DJI Pilot.
      COLOR1Fulgurite. Dark red represents low temperatures and white represents high temperatures. The warm tone of this palette aligns with people’s association with hot temperatures.
      RAINBOWRainbow 1. Similar to Medical, it reduces the warm color ratio and increases the cold color ratio for high temperature targets to better show the details of cool targets.
      RAINRainbow 2. The color transition is reduced, the warm and cold colors are moderately proportioned, which can show the details of high and low temperature targets at the same time.
      FUSION融合。
      SEPIA深褐。
      IRONBOW2铁红2。
      GLOWBOW暗光。
      Class Members:
      LED Close
      enum
      enum AutoTurnOffLEDMode
      enum AutoTurnOffLEDMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Mode that automatically turns off LED when shooting photo and recording video.

      Enum Members:
      DISABLEDThe arm LED will not be automatically turnde off when shooting photo and recording video.
      FRONT_LEDS_ONLYThe front LED and light LED will be automaticallu turned off when shooting photo and recording video.
      BACK_LEDS_ONLYThe back LED and light LED will be automaticallu turned off when shooting photo and recording video.
      ALL_LEDSThe front LED, back LED and night LED will be automaticallu turned off when shooting photo and recording video.
      Class Members:
      Shutter Speed
      enum
      enum CameraShutterSpeed
      enum CameraShutterSpeed implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Shutter speed range.

      Enum Members:
      SHUTTER_SPEED_AUTOThe shutter speed of camera is set to AUTO. Not available when exposure mode is MANUAL.
      SHUTTER_SPEED1_20000The shutter speed of camera is set to 1/20000 s.
      SHUTTER_SPEED1_16000The shutter speed of camera is set to 1/16000 s.
      SHUTTER_SPEED1_12800The shutter speed of camera is set to 1/12800 s.
      SHUTTER_SPEED1_10000The shutter speed of camera is set to 1/10000 s.
      SHUTTER_SPEED1_8000The shutter speed of camera is set to 1/8000 s.
      SHUTTER_SPEED1_6400The shutter speed of camera is set to 1/6400 s.
      SHUTTER_SPEED1_6000The shutter speed of camera is set to 1/6000 s.
      SHUTTER_SPEED1_5000The shutter speed of camera is set to 1/5000 s.
      SHUTTER_SPEED1_4000The shutter speed of camera is set to 1/4000 s.
      SHUTTER_SPEED1_3200The shutter speed of camera is set to 1/3200 s.
      SHUTTER_SPEED1_3000The shutter speed of camera is set to 1/3000 s.
      SHUTTER_SPEED1_2500The shutter speed of camera is set to 1/2500 s.
      SHUTTER_SPEED1_2000The shutter speed of camera is set to 1/2000 s.
      SHUTTER_SPEED1_1600The shutter speed of camera is set to 1/1600 s.
      SHUTTER_SPEED1_1500The shutter speed of camera is set to 1/1500 s.
      SHUTTER_SPEED1_1250The shutter speed of camera is set to 1/1250 s.
      SHUTTER_SPEED1_1000The shutter speed of camera is set to 1/1000 s.
      SHUTTER_SPEED1_800The shutter speed of camera is set to 1/800 s.
      SHUTTER_SPEED1_725The shutter speed of camera is set to 1/725 s.
      SHUTTER_SPEED1_640The shutter speed of camera is set to 1/640 s.
      SHUTTER_SPEED1_500The shutter speed of camera is set to 1/500 s.
      SHUTTER_SPEED1_400The shutter speed of camera is set to 1/400 s.
      SHUTTER_SPEED1_350The shutter speed of camera is set to 1/350 s.
      SHUTTER_SPEED1_320The shutter speed of camera is set to 1/320 s.
      SHUTTER_SPEED1_250The shutter speed of camera is set to 1/250 s.
      SHUTTER_SPEED1_240The shutter speed of camera is set to 1/240 s.
      SHUTTER_SPEED1_200The shutter speed of camera is set to 1/200 s.
      SHUTTER_SPEED1_180The shutter speed of camera is set to 1/180 s.
      SHUTTER_SPEED1_160The shutter speed of camera is set to 1/160 s.
      SHUTTER_SPEED1_125The shutter speed of camera is set to 1/125 s.
      SHUTTER_SPEED1_120The shutter speed of camera is set to 1/120 s.
      SHUTTER_SPEED1_100The shutter speed of camera is set to 1/100 s.
      SHUTTER_SPEED1_90The shutter speed of camera is set to 1/90 s.
      SHUTTER_SPEED1_80The shutter speed of camera is set to 1/80 s.
      SHUTTER_SPEED1_60The shutter speed of camera is set to 1/60 s.
      SHUTTER_SPEED1_50The shutter speed of camera is set to 1/50 s.
      SHUTTER_SPEED1_40The shutter speed of camera is set to 1/40 s.
      SHUTTER_SPEED1_30The shutter speed of camera is set to 1/30 s.
      SHUTTER_SPEED1_25The shutter speed of camera is set to 1/25 s.
      SHUTTER_SPEED1_20The shutter speed of camera is set to 1/20 s.
      SHUTTER_SPEED1_15The shutter speed of camera is set to 1/15 s.
      SHUTTER_SPEED1_12DOT5The shutter speed of camera is set to 1/12.5 s.
      SHUTTER_SPEED1_10The shutter speed of camera is set to 1/10 s.
      SHUTTER_SPEED1_8The shutter speed of camera is set to 1/8秒。
      SHUTTER_SPEED1_6DOT25The shutter speed of camera is set to 1/6.25 s.
      SHUTTER_SPEED1_5The shutter speed of camera is set to 1/5 s.
      SHUTTER_SPEED1_4The shutter speed of camera is set to 1/4 s.
      SHUTTER_SPEED1_3The shutter speed of camera is set to 1/3 s.
      SHUTTER_SPEED1_2DOT5The shutter speed of camera is set to 1/2.5 s.
      SHUTTER_SPEED1_2The shutter speed of camera is set to 1/2 s.
      SHUTTER_SPEED1_1DOT67The shutter speed of camera is set to 1/1.67 s.
      SHUTTER_SPEED1_1DOT25The shutter speed of camera is set to 1/1.25 s.
      SHUTTER_SPEED1The shutter speed of camera is set to 1.0 s.
      SHUTTER_SPEED1DOT3The shutter speed of camera is set to 1.3 s.
      SHUTTER_SPEED1DOT6The shutter speed of camera is set to 1.6 s.
      SHUTTER_SPEED2The shutter speed of camera is set to 2.0 s.
      SHUTTER_SPEED2DOT5The shutter speed of camera is set to 2.5 s.
      SHUTTER_SPEED3The shutter speed of camera is set to 3.0 s.
      SHUTTER_SPEED3DOT2The shutter speed of camera is set to 3.2 s.
      SHUTTER_SPEED4The shutter speed of camera is set to 4.0 s.
      SHUTTER_SPEED5The shutter speed of camera is set to 5.0 s.
      SHUTTER_SPEED6The shutter speed of camera is set to 6.0 s.
      SHUTTER_SPEED7The shutter speed of camera is set to 7.0 s.
      SHUTTER_SPEED8The shutter speed of camera is set to 8.0 s.
      SHUTTER_SPEED9The shutter speed of camera is set to 9.0 s.
      SHUTTER_SPEED10The shutter speed of camera is set to 10.0 s.
      SHUTTER_SPEED11The shutter speed of camera is set to 11.0 s.
      SHUTTER_SPEED13The shutter speed of camera is set to 13.0 s.
      SHUTTER_SPEED15The shutter speed of camera is set to 15.0 s.
      SHUTTER_SPEED16The shutter speed of camera is set to 16.0 s.
      SHUTTER_SPEED20The shutter speed of camera is set to 20.0 s.
      SHUTTER_SPEED23The shutter speed of camera is set to 23.0 s.
      SHUTTER_SPEED25The shutter speed of camera is set to 25.0 s.
      SHUTTER_SPEED30The shutter speed of camera is set to 30.0 s.
      SHUTTER_SPEED40The shutter speed of camera is set to 40.0 s.
      SHUTTER_SPEED50The shutter speed of camera is set to 50.0 s.
      SHUTTER_SPEED60The shutter speed of camera is set to 60.0 s.
      SHUTTER_SPEED80The shutter speed of camera is set to 80.0 s.
      SHUTTER_SPEED100The shutter speed of camera is set to 100.0 s.
      SHUTTER_SPEED120The shutter speed of camera is set to 120.0 s.
      Class Members:
      hybrid Zoom
      class
      Infrared Function
      enum
      enum ThermalScene
      enum ThermalScene implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Thermal scene.

      Enum Members:
      DEFAULTDefault scene. Automatically adjust DDE, ACE, SSO, Brightness and Contrast.
      MANUALCustomized scene. Allows manual setting of DDE, brightness and contrast.
      INSPECTIONInspection scene. Automatically adjust DDE, ACE, SSO, brightness and contrast, with presets optimized for inspection scenarios.
      Class Members:
      Photo Shooting and Video Recording Storage
      class
      High-Res Grid Photo
      enum
      enum SuperResolutionState
      enum SuperResolutionState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The status of high-res grid photo.

      Enum Members:
      SELECTINGThe high-res grid photo area is selecting. You can use KeySuperResolutionCaptureArea to set the high-res grid photo area.
      IN_PROGRESSThe high-res grid photo is shooting.
      FINISHThe high-res grid photo shooting has ended.
      EXIT_OUT_OF_STORAGEStop shooting, because there is no more storage.
      EXIT_SHOOT_FAILStop shooting, because shooting is failed.
      EXIT_GIMBAL_BLOCKStop shooting, because the gimbal is stuck.
      EXIT_GIMBAL_ABNORMAL_MOVEStop shooting, because the gimbal cannot move or the gimbal is abnormal.
      TIP_GIMBAL_OUT_OF_RANGEStop shooting, because the gimbal angle exceeds the maximum limit.
      TIP_OUT_OF_ZOOMCamera zoom out of maximum range.
      Class Members:
      Media Type
      enum
      enum MediaFileType
      enum MediaFileType implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Type of media file.

      Enum Members:
      JPEGThe media file type is JPEG photo.
      DNGThe media file type is DNG photo.
      MOVThe media file type is MOV video.
      MP4The media file type is MP4 video.
      Class Members:
      Photo Format
      enum
      enum PhotoFileFormat
      enum PhotoFileFormat implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The type of photo format.

      Enum Members:
      RAWPhoto format is set to RAW.
      JPEGPhoto format is set to JPEG.
      RAW_JPEGPhoto format is set to RAW+JPEG.
      Class Members:
      Video Source Type
      enum
      enum CameraVideoStreamSourceType
      enum CameraVideoStreamSourceType implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Video Source Type supported by camera.

      Enum Members:
      WIDE_CAMERAWide.
      ZOOM_CAMERAZoom.
      INFRARED_CAMERAInfrared.
      Class Members:
      ROI
      enum
      enum ThermalROI
      enum ThermalROI implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Thermal ROI.

      Enum Members:
      FULLFull sceen.
      SKY_EXCLUDED33The sky area is exclued (33%).
      SKY_EXCLUDED50The sky area is exclued (50%).
      Class Members:
      Laser Working Mode
      enum
      enum LaserWorkMode
      enum LaserWorkMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Laser working mode.

      Enum Members:
      OPEN_ON_DEMANDOpen the laser based on requirement. In this mode, the laser is only turned on when necessary, and the laser module can be turned on or off through KeyLaserMeasureEnabled. After the laser module is turned off, the laser-assisted focusing function is disabled, and the camera's focusing ability is weakened. When using the night vision module and Tyndall phenomenon occurs, you can choose this mode to turn off the laser module. The laser module will revert to enhanced mode after restarting the camera.
      OPEN_ALWAYSEnhanced mode. The laser module will be turned on by default. In this mode, functions such as laser-assisted focusing, intelligent tracking, spot positioning, and laser ranging can be used normally.
      Class Members:
      Camera Type
      enum
      enum CameraType
      enum CameraType implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Supported camera types.

      Enum Members:
      M30M30 dual light camera.
      M30TM30T triple light camera.
      Class Members:
      Video Format
      enum
      enum VideoFileFormat
      enum VideoFileFormat implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Type of video format.

      Enum Members:
      MOVThe video format is MOV.
      MP4The video format is MP4.
      Class Members:
      Panoramic Photo
      enum
      enum PhotoPanoramaMode
      enum PhotoPanoramaMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Panoramic photo of camera.

      Enum Members:
      MODE_3x1The camera will take 1 column of 3 photos. Each photo uses the same aircraft heading angle and different gimbal angles to take photos.
      MODE_3x3The camera will take 9 pictures in 3 columns and 3 rows. The photos in each column were taken with different aircraft heading angles. Each row of photos is taken with different gimbal angles.
      MODE_SPHEREThe camera will take 24 photos in 8 columns, 3 rows and an additional photo with the gimbal facing down. The photos in each column were taken with different aircraft heading angles. Each row of photos is taken with different gimbal angles.
      Class Members:
      Exposure Mode
      enum
      enum CameraExposureMode
      enum CameraExposureMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The type of exposure mode.

      Enum Members:
      MANUALExposure mode is set to manual exposure. In this mode the shutter can be adjusted manually, the aperture is fixed, and the ISO can be adjusted manually.
      PROGRAMExposure mode is set to auto exposure. In this mode the shutter can be adjusted manually, the aperture is fixed, and the ISO can be adjusted manually.
      SHUTTER_PRIORITYExposure mode is set to shutter priority exposure.
      APERTURE_PRIORITYExposure mode is set to aperture priority exposurre。
      Class Members:
      ISO
      enum
      enum CameraISO
      enum CameraISO implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      ISO range.

      Enum Members:
      ISO_AUTOISO value is set to AUTO. Not available when exposure mode is MANUAL.
      ISO_50ISO value is set to 50.
      ISO_100ISO value is set to 100.
      ISO_200ISO value is set to 200.
      ISO_400ISO value is set to 400.
      ISO_800ISO value is set to 800.
      ISO_1600ISO value is set to 1600.
      ISO_3200ISO value is set to 3200.
      ISO_6400ISO value is set to 6400.
      ISO_12800ISO value is set to 12800.
      ISO_25600ISO value is set to 25600.
      Class Members:
      Exposure Compensation
      enum
      enum CameraExposureCompensation
      enum CameraExposureCompensation implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The range of exposure compensation.

      Enum Members:
      NEG_5P0EVExposure compensation is set to -5.0ev.
      NEG_4P7EVExposure compensation is set to -4.7ev.
      NEG_4P3EVExposure compensation is set to -4.3ev.
      NEG_4P0EVExposure compensation is set to -4.0ev.
      NEG_3P7EVExposure compensation is set to -3.7ev.
      NEG_3P3EVExposure compensation is set to -3.3ev.
      NEG_3P0EVExposure compensation is set to -3.0ev.
      NEG_2P7EVExposure compensation is set to -2.7ev.
      NEG_2P3EVExposure compensation is set to -2.3ev.
      NEG_2P0EVExposure compensation is set to -2.0ev.
      NEG_1P7EVExposure compensation is set to -1.7ev.
      NEG_1P3EVExposure compensation is set to -1.3ev.
      NEG_1P0EVExposure compensation is set to -1.0ev.
      NEG_0P7EVExposure compensation is set to -0.7ev.
      NEG_0P3EVExposure compensation is set to -0.3ev.
      NEG_0EVExposure compensation is set to 0.0ev.
      POS_0P3EVExposure compensation is set to +0.3ev.
      POS_0P7EVExposure compensation is set to +0.7ev.
      POS_1P0EVExposure compensation is set to +1.0ev.
      POS_1P3EVExposure compensation is set to +1.3ev.
      POS_1P7EVExposure compensation is set to +1.7ev.
      POS_2P0EVExposure compensation is set to +2.0ev.
      POS_2P3EVExposure compensation is set to +2.3ev.
      POS_2P7EVExposure compensation is set to +2.7ev.
      POS_3P0EVExposure compensation is set to +3.0ev.
      POS_3P3EVExposure compensation is set to +3.3ev.
      POS_3P7EVExposure compensation is set to +3.7ev.
      POS_4P0EVExposure compensation is set to +4.0ev.
      POS_4P3EVExposure compensation is set to +4.3ev.
      POS_4P7EVExposure compensation is set to +4.7ev.
      POS_5P0EVExposure compensation is set to +5.0ev.
      FIXEDExposure compensation is set to FIXED. The exposure compensation of the camera lens is set by the camera to a fixed value.
      Class Members:
      FFC Calibration Mode
      enum
      enum ThermalFFCMode
      enum ThermalFFCMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      FFC mode. Automatic or manual FFC calibration can be selected.

      Enum Members:
      AUTOAutomatic FFC calibration. When is set to automatic FFC calibration, the Infrare lens will be automatically calibrated at a interval time.
      MANUALManual FFC calibration. After setting to manual FFC calibration, KeyThermalTriggerFFC can be called to perform manual FFC calibration.
      Class Members:
      Photo and Video Storage
      class
      custom name
      class
      Storage Information
      enum
      enum SDCardLoadState
      enum SDCardLoadState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The state of the SD Card inserted.

      Enum Members:
      INSERTEDThe SD Card is inserted.
      NOT_INSERTEDThe SD Card is not inserted.
      Class Members:
      Video Frame Rate
      enum
      enum VideoFrameRate
      enum VideoFrameRate implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Video frame rate.

      Enum Members:
      RATE_30FPSThe video frame rate is 30fps.
      RATE_60FPSThe video frame rate is 60fps.
      Class Members:
      Camera Mode
      enum
      enum CameraFlatMode
      enum CameraFlatMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Settable camera mode.

      Enum Members:
      PHOTO_NORMALCamera mode is set to normal photo mode. The M30 camera will take two photos by default, a wide-angle photo and a zoom photo. The M30T camera will take three photos by default, namely wide-angle photos, zoom photos and infrared photos. You can choose to store the photos you need through KeyCaptureCameraStreamSettings.
      VIDEO_NORMALCamera mode is set to normal record mode. The M30 camera will record two videos by default, a wide-angle video and a zoom video. The M30T camera will shoot three videos by default, namely wide-angle video, zoom video and infrared video. You can choose to store the videos you need through KeyRecordCameraStreamSettings.
      PHOTO_SMARTCamera mode is set to intelligent photo mode. In a dimly lit environment, the camera will automatically simulate a long exposure for shooting, which can shoot the object more clearly. It only takes effect when the zoom lens is zoomed above 5x.
      PHOTO_INTERVALCamera mode is set to interval photo mode.Set the camera to take one or more pictures continuously at a set time interval. You can set the timed photo parameters through KeyPhotoIntervalShootSettings. Since the camera needs a response time to take photos, the minimum photo interval needs to be set to more than 2 seconds. After setting this mode, you need to call KeyStartShootPhoto to take pictures regularly. During the timed photo shooting, you can call KeyStopShootPhoto to stop the timed photo shooting.
      PHOTO_REGIONAL_SRCamera mode is set to high-resolution matirx photo mode. In this mode, dragging to select an area in the wide-angle view, the gimbal will automatically move and take a series of 20MP photos of the selected area with the zoom camera at the current zoom ratio. All photos and generated HTML files will be saved in the same folder on the microSD card. To view the global photo and partial close-up photo, please open the HTML file with a browser on your PC for viewing. If you want to view the global photo and local close-up photo in the application, please use KeySuperResolutionCaptureArea to set the high-resolution matrix capture area. Use KeySuperResolutionInfo to monitor the camera state of high-resolution matrix shooting. After setting this mode, you need to call KeyStartShootPhoto to take a photo with the high-resolution matrix. During the shooting process, you can call KeyStopShootPhoto to stop the timed high-resolution matrix photo shooting.
      PHOTO_PANOCamera mode is set to panoramic photo mode. The aircraft took a series of photos at different gimbal angles and aircraft headings. This set of photos can be stitched into panoramic photos using third-party libraries. The panorama photo mode can be set by KeyPhotoPanoramaMode, the panorama photo mode can be judged by KeyIsShootingPhotoPanorama, and the progress of panorama photo can be obtained by KeyPhotoPanoramaProgress. After setting this mode, you need to call KeyStartShootPhoto to take a panoramic photo. During the shooting process, you can call KeyStopShootPhoto to stop panorama shooting.
      Notic:
      Panoramic photo mode can only be activated after the aircraft takes off.
      Class Members:
      Media File
      class
      enum ThermalIsothermUnit
      enum ThermalIsothermUnit implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Unit of isotherm.

      Enum Members:
      PERCENTAGEPercentage.
      CELSIUSCelsius.
      Class Members:
      Focus Mode
      enum
      enum CameraFocusMode
      enum CameraFocusMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Camera focus mode.

      Enum Members:
      MANUALManual focus. In this mode, user can adjust the focus by setting the focus ring value through KeyCameraFocusRingValue. The focus target is the center point of the screen.
      AFAuto focus. In this mode, user can set the focus target through KeyCameraFocusTarget for auto focusing.
      AFCContinuous auto focus. In this mode, the camera will focus on the center point of the screen. When the subject is moved, the auto focusing system can adjust the lens in real time according to the change of focus, so that the subject remains clear.
      Class Members:
      Metering Mode
      enum
      enum CameraMeteringMode
      enum CameraMeteringMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      The metering mode of camera lens.

      Enum Members:
      CENTERCenter metering. In this mode, the camera will meter based on the light at the center of the screen.
      AVERAGEAverage metering. In this mode, the camera will meter based on average screen brightness.
      SPOTArea metering(including spot metering). In this mode, the camera will meter based on the area brightness set by the user.
      Class Members:
      Interval Shooting
      class
      Photo Ratio
      enum
      enum PhotoRatio
      enum PhotoRatio implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Type of camera photo ratio.

      Enum Members:
      RATIO_4COLON3The photo ratio is set to 4:3.
      RATIO_16COLON9The photo ratio is set to 16:9.
      RATIO_3COLON2The photo ratio is set to 3:2.
      RATIO_SQUAREThe photo ratio is set to 1:1.
      RATIO_18COLON9The photo ratio is set to 18:9.
      Class Members:
      Regional Temperature Measurement
      class
      Infrared Zoom
      enum
      enum ThermalDigitalZoomFactor
      enum ThermalDigitalZoomFactor implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.camera
      Description:

      IR zoom magnification.

      Enum Members:
      FACTOR_X11X.
      FACTOR_X22X.
      FACTOR_X44X.
      FACTOR_X88X.
      Class Members:


      Common

      Time Data
      class
      姿态数据
      class
      浮点数据的范围
      class


      Remote Controller

      enum MultiControlAuthorityType
      enum MultiControlAuthorityType implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.common
      Description:

      Define available control mode, including flight and gimbal control.

      Enum Members:
      FLIGHT_CONTROL_AUTHORITYFlight control.
      GIMBAL_LEFT_CONTROL_AUTHORITYLeft gimbal control. If there is only one gimbal, this mode is main gimbal control.
      GIMBAL_RIGHT_CONTROL_AUTHORITYRight gimbal control.
      GIMBAL_UP_CONTROL_AUTHORITYAbove gimbal control.
      Class Members:
      enum MultiControlChannel
      enum MultiControlChannel implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.common
      Description:

      This class is used to define remote controller muti-control channel. If dual control needs to be realized, different remote controller should be set to different channel, and then pair frequency with the aircraft.
      NOTICE: If remote controller A is already set to A control, and then remote controller B is set to A control to link with the aircraft, the remote controller A will be disconnected from the aircraft and it needs to link again.

      Enum Members:
      CHANNEL_AA control.
      CHANNEL_BB control.
      Class Members:
      enum RemoteControllerType
      enum RemoteControllerType implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.remotecontroller
      Description:

      Remote controller type.

      Enum Members:
      DJI_RC_PLUSDJI RC PLUS remote controller. It adopts O3 Pro high-definition image transmission technology, which can be used with aircrafts that support this image transmission technology, and transmits high-definition images in real time. With the complete function buttons of the remote control, the operation and setting of the aircraft and the camera can be completed. Support M30 series aircraft.
      Class Members:
      enum ControlMode
      enum ControlMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.remotecontroller
      Description:

      Remote controller control mode.

      Enum Members:
      JPJapanese mode.
      USAAmerican mode.
      CHChinese mode.
      Class Members:
      enum PairingState
      enum PairingState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.remotecontroller
      Description:

      Remote controller frequency pairing status.

      Enum Members:
      UNPAIREDRemote controller is not pairing frequency.
      PAIRINGRemote controller is pairing frequency .
      PAIREDRemote controller pairs frequency successfully.
      Class Members:


      FlightController

      Smart low battery return-to-home
      enum
      enum LowBatteryRTHState
      enum LowBatteryRTHState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Status of smart low battery return-to-home.

      Enum Members:
      IDLESmart low battery return-to-home is not triggered. The status will be reset to this status after the aircrft returns and lands.
      COUNTING_DOWNThe smart low battery return-to-home is triggered, and the aircraft is counting down. If the cancellation of request to return-to-home is not recevied from user in 10 seconds, the aircraft will perform return-to-home operation, and the status will change to EXECUTED. If user cancels the request to return-to-home, the status will change to CANCELLED.
      EXECUTEDExceed the smart low battery return-to-home. The status will not be reset until the aircraft returned and landed or the return-to-home was cancelled midway.
      CANCELLEDThe smart low battery return-to-home is cancelled. This status will not be reset until the aircraft landed.
      Class Members:
      Compass Calibration
      enum
      enum CompassCalibrationState
      enum CompassCalibrationState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The calibration status of the compass.

      Enum Members:
      IDLENormal status. The compass is not calibrated.
      HORIZONTALThe horizontal calibration of the compass. User should horizontally hold the aircraft and rotate it 360 degrees.
      VERTICALThe compass vertical calibration. User should vertically hold the aircraft, with the aircraft head facing the ground and rotate it 360 degrees.
      SUCCEEDEDCompass calibration success.
      FAILEDCompass calibration is failed. User should make sure there are no magnets or metal objects near the aircrft, and retry.
      Class Members:
      IMU Calibration
      class
      Smart Return to Home
      enum
      enum GoHomeState
      enum GoHomeState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      Smart return-to-home status.

      Enum Members:
      IDLESmart return-to-home is not triggered. The state of the aircraft will also be reset to this state after returning to home and landing.
      PREASCENDINGReturn-to-home preparing for ascend.
      ALIGNReturn-to-home heading alignment. The aircraft is turning the heading direction to the home point.
      ASCENDINGReturn-to-home ascending. The aircraft is ascending to the return-to-home altitude.
      CRUISEReturning to home. The aircraft is flying horizontally to home point.
      BRAKINGReturn-to-home braking. The aircraft is braking to avoid a collision.
      AVOID_ASCENDINGReturn-to-home avoiding obstacles. The aircraft is trying to avoid obstacles.
      COMPLETEDReturn-to-home is complete.
      Class Members:
      enum NavigationSatelliteSystem
      enum NavigationSatelliteSystem implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The type of GNSS that can be set.

      Enum Members:
      GPS_GLONASSUsing GPS and GLONSS.
      BEIDOUOnly use Beidou system.
      Class Members:
      GPS信号等级GPS Signal Level
      enum
      enum GPSSignalLevel
      enum GPSSignalLevel implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      GPS signal level.

      Enum Members:
      LEVEL_0Level 0. There is almost no GPS signal.
      LEVEL_1Level 1. GPS signal is weak.
      LEVEL_2Level 2. GPS signal is weak. From this level, the return-to-home function of the aircraft can work.
      LEVEL_3Level 3. GPS sigal is good. From this level, the aircraft can hover in the air.
      LEVEL_4Level 4. GPS signal is very good. From this level, the aircraft can record the home point.
      LEVEL_5Level 5. GPS signal is strong.
      LEVEL_10Level 10. GPS is combined with RTK information.
      LEVEL_NONEThere is no GPS signal.
      Class Members:
      enum RemoteControllerFlightMode
      enum RemoteControllerFlightMode implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The flight mode of the aircraft.

      Enum Members:
      F功能模式,简称为“F模式”。表现与P模式相同,并启用任务和智能方向控制等智能功能。
      AAttitude mode, which is referred to as "A mode". In this mode, the aircraft only provides attitude stablization, and GPS module and vision system are not used for positioning. In real operation, aircraft will drift noticeably and can not hover, which needs the pilot to correct the position of the aircraft instantly through remote controller. Attitude mode tests the pilot's handling ability of the aircraft. In some emergency situation, the aircraft needs to switch attitude mode.
      S运动模式,简称为“S模式”。使用GPS模块和视觉系统以实现精准悬停,该模式下飞行器的感度值被适当调高,务必格外谨慎飞行。飞行器最大水平速度可达20米/秒。
      P定位模式,简称为“P模式”。GPS模块和视觉系统(如果可用)将用于飞行器定位。对于没有F模式的产品,可以在P模式下执行任务和智能方向控制等智能功能。
      MManual mode, which is referred to as "M mode". In this mode, All actions of the aircraft, including stable attitude and stable altitude, need to be controlled by the pilot through remote controller. It is danguous for beginner to operate.
      T三角架模式,简称为“T模式”。在此模式下,飞行器飞行速度和转动灵敏度都将显著降低,可以更精准的控制画面,获得更加稳定的拍摄效果。
      Class Members:
      Wind Speed
      enum
      enum WindWarning
      enum WindWarning implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The wind speed of the environment that the aircraft stay in.

      Enum Members:
      LEVEL_0Level 0, which means there is currently no wind.
      LEVEL_1Level 1, which means the wind speed is fast. Please flight the aircraft carefully and ensure the aircraft in sight.
      LEVEL_2Level 2, which means the wind speed is very fast. Please flight the aircraft carefully and ensure the aircraft in sight.
      Class Members:
      Wind Direction
      enum
      enum WindDirection
      enum WindDirection implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      The wind direction of the environment that the aircraft stay in. It's using the world coordinate system.

      Enum Members:
      WINDLESSCurrently no wind.
      NORTHNorth wind.
      NORTH_EASTNortheast wind.
      EASTEast wind.
      SOUTH_EASTSoutheast wind.
      SOUTHSouth wind.
      SOUTH_WESTSouthwest wind.
      WESTWest wind.
      NORTH_WESTNorthwest wind.
      Class Members:
      RC Signal Lost Protection
      enum
      enum FailsafeAction
      enum FailsafeAction implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.flightcontroller
      Description:

      RC signal lost behavior type of the aircraft.

      Enum Members:
      HOVERHover. When the remote controller and aircraft lose connection, the aircraft will hover.
      LANDINGLand. When the remote controller and aircraft lose connection, the aircraft will land in place.
      GOHOMEReturn-to-Home. If the aircraft has successfully recorded the home point (KeyHomeLocation) and the GPS signal is good, the aircraft will automatically return to home point and land to prevent accident when the remote controller and aircraft lose connection signal. During the return-to-home process, if forward vision system is opened and the environment condition is good, the aircraft will automatically climb up to avoid obstacles when the head of aircraft encounter obstacles. To ensure the orientation of the aircraft head, user can not adjust the orientation of the aircraft head and can not control the aircraft to fly left and right.
      Class Members:
      LED
      class


      Battery

      Battery LED
      class


      Accessory

      enum AudioStorageLocation
      enum AudioStorageLocation implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.accessory
      Description:

      keyvalue_value_accessory_AudioStorageLocation

      Enum Members:
      TMEPORARYkeyvalue_value_accessory_AudioStorageLocation_MEPORARY
      PERMANENTkeyvalue_value_accessory_AudioStorageLocation_PERMANENT
      UNKNOWNkeyvalue_value_accessory_AudioStorageLocation_UNKNOWN
      Class Members: