Display modes to coordinate the video feeds from both the RGB sensor and single-band sensors. Only supported by multispectral camera of P4 Multispectral.
Enum Members:
RGB_ONLY
Displays only the video feed from the RGB sensor.
NDVI
Displays the NVDI (normalized difference vegetation index) frames as video feed produced by the multispectral camera.
UNKNOWN
The multispectral camera video feed display mode is unknown.
Enums represent the spectrum bands of a multispectral camera. For P4 Multispectral, the camera supports 5 bands. Only supported by multispectral camera of P4 Multispectral.
Capture mode. In this mode, the user can capture pictures.
RECORD_VIDEO
Record mode. In this mode, the user can record videos.
PLAYBACK
Playback mode. In this mode, the user can preview photos and videos, and can delete files. It is supported by Phantom 3 Professional camera, X3, X5 and X5R cameras on aircraft and Phantom 4 camera. Playback mode is not supported by Z30, X5S, X4S, Phantom 4 Pro, Mavic Pro, Phantom 3 Standard, Phantom 3 Advanced, Phantom 3 4K and Osmo series.
MEDIA_DOWNLOAD
In this mode, the user can download media to the Mobile Device. Not supported by X5 camera nor X5R camera while mounted on aircraft.
BROADCAST
In this mode, live stream resolution and frame rate will be 1080i50 (PAL) or 720p60 (NTSC). In this mode videos can be recorded. Still photos can also be taken only when video is recording. The only way to exit broadcast mode is to change modes to RECORD_VIDEO. Only supported by Inspire 2.
The ShootPhoto mode itself can have several modes. The default value is SINGLE.
Enum Members:
SINGLE
Sets the camera to take a single photo.
HDR
Sets the camera to take an HDR photo. X5 camera, X5R camera, XT camera, Z30 camera, Phantom 4 Pro camera, X4S camera and X5S camera do not support HDR mode.
BURST
Set the camera to take multiple photos at once. XT camera does not support Burst mode.
AEB
Automatic Exposure Bracketing (AEB) capture. In this mode you can quickly take multiple shots (the default is 3) at different exposures without having to manually change any settings between frames. XT camera and Z30 camera does not support AEB mode.
INTERVAL
Sets the camera to take a picture (or multiple pictures) continuously at a set time interval. The minimum interval for JPEG format of any quality is 2s. For all cameras except X4S, X5S and Phantom 4 Pro camera: The minimum interval for RAW or RAW+JPEG format is 10s. For the X4S, X5S and Phantom 4 Pro cameras the minimum interval for RAW or RAW+JPEG dformat is 5s.
TIME_LAPSE
Sets the camera to take a picture (or multiple pictures) continuously at a set time interval. The camera will merge the photo sequence and the output is a video. The minimum interval for Video only format is 1 s. The minimum interval for Video+Photo format is 2 s. For the new Osmo firmware version, no video feed will be received if the camera is shooting photos with Time-lapse mode. Instead, user can receive a sequence of preview images using the delegate method onGenerate. Supported only by Osmo camera (Z3 and X3).
PANORAMA
In panorama mode, the aircraft takes a series of photos with different gimbal and aircraft heading positions. The photos can be stitched with a third-party library. It is supported by Spark, Mavic Air, Mavic 2, Mavic 2 Pro, Mavic 2 Zoom, Mavic 2 Eneterprise, Mavic 2 Enterprise Dual.
EHDR
Sets the camera to take an enhanced-HDR photo. It blends a sequence of photos for ghost-free high dynamic range photos. It is supported by Mavic 2 Zoom and Mavic 2 Pro.
HYPER_LIGHT
Sets the camera to take photos in HyperLight mode. It is a setting for low-light environment to enhance the photo quality while reducing noise significantly. It is supported by Mavic 2 Zoom and Mavic 2 Pro.
HIGH_RESOLUTION
Indicates that the photo was taken in high resolution mode(48 MP 8000×6000 pixel). Supported by Mavic Air 2.
RAW_BURST
Sets the camera to take a burst of RAW photos. Use getRAWPhotoBurstCount to check how many photos have been shot. Only supported by X5S.
SHALLOW_FOCUS
Sets the camera to take a series of photos while the aircraft moves up and down automatically. The image's depth of field can be computed with a third-party library to produce a photo with the bokeh effect. Note: 1. It is only suitable for shooting still scenes. 2. The aircraft will ascend about 20cm before shooting. Ensure that there is no obstacle about the aircraft. 3. The suitable range of shooting is within 30m. It is only supported by Spark.
Camera exposure modes. The default value is PROGRAM. The different exposure modes define whether Aperture, Shutter Speed, ISO can be set automatically or manually. Exposure compensation can be changed in all modes except Manual mode where it is not settable. X5, X5R, Phantom 4 Pro camera, X4S and X5S: Program Mode: Shutter: Auto Aperture: Auto ISO: Manual or Auto Shutter Priority: Shutter: Manual Aperture: Auto ISO: Manual or Auto Aperture Priority: Shutter: Auto Aperture: Manual ISO: Manual or Auto Manual Mode: Shutter: Manual Aperture: Manual ISO: Manual
All other cameras: Program Mode: Shutter: Auto Aperture: Fixed ISO: Auto Shutter Priority: Shutter: Manual Aperture: Fixed ISO: Auto Aperture Priority: NA Manual Mode: Shutter: Manual Aperture: Manual ISO: Manual
The ISO value is automatically set. This cannot be used for all cameras when in Manual mode.
ISO_50
The ISO value is set to 50.
ISO_100
The ISO value is set to 100.
ISO_200
The ISO value is set to 200.
ISO_400
The ISO value is set to 400.
ISO_800
The ISO value is set to 800.
ISO_1600
The ISO value is set to 1600.
ISO_3200
The ISO value is set to 3200.
ISO_6400
The ISO value is set to 6400.
ISO_12800
The ISO value is set to 12800.
ISO_25600
The ISO value is set to 25600.
ISO_51200
The ISO value is set to 51200.
ISO_102400
The ISO value is set to 102400.
FIXED
ISO value is fixed by the camera firmware. When the camera color is set to D_LOG, camera will fix the ISO to a specific value in order to optimize the performance. The value set by camera can be accessed from getISO.
The camera's white balance is set to water surface.
INDOOR_INCANDESCENT
The camera's white balance is set to indoors and incandescent light.
INDOOR_FLUORESCENT
The camera's white balance is set to indoors and fluorescent light.
CUSTOM
The camera's white balance is set to custom color temperature. By using this white balance value, user can set a specific value for the color temperature.
UNKNOWN
The camera's white balance is unknown.
PRESET_NEUTRAL
The camera's white balance is set to neutral. It is only supported by the X7.
Display modes to coordinate the video feeds from both the visual camera and the thermal camera. Only supported by XT2 camera and and Mavic 2 Enterprise Dual Camera.
Enum Members:
VISUAL_ONLY
Displays only the video feed from the visual camera.
THERMAL_ONLY
Displays only the video feed from the thermal camera.
PIP
Displays the video feed from the visual camera as the main subject, and the video from the thermal camera in a window not bigger than the main subject. The position of the thermal camera window can be adjusted with PIPPosition. Not supported by Mavic 2 Enterprise Dual.
MSX
Multi-Spectral Dynamic Imaging. Fuse the video feeds from both the visual camera and the thermal camera as one. Adds visible spectrum definition to IR images by detecting the edges of objects and including that detail in the thermal image.
Possible positions to place the window of the thermal camera video feed when the display mode is PIP. Only supported by XT2 camera and Mavic 2 Enterprise Dual Light Camera.
Enum Members:
IR_CENTER
Position the window to the vertical center and the horizontal center.
IR_BOTTOM_RIGHT
Position the window to be bottom right.
IR_CENTER_RIGHT
Position the window to be centered on the right.
IR_TOP_RIGHT
Position the window to be top right.
IR_BOTTOM_CENTER
Position the window to be centered at bottom.
IR_TOP_CENTER
Position the window to be centered at top.
IR_BOTTOM_LEFT
Position the window to be bottom left.
IR_CENTER_LEFT
Position the window to be centered on the left.
IR_TOP_LEFT
Position the window to be top left.
SIDE_BY_SIDE
Position the thermal window on the right side of the main window (the visual camera video feed). Scale both windows with the same height.
ALIGN
Position the thermal window on top of the main window (the visual camera video feed). Then align the object in the thermal window with the same object in the main window. The alignment offset can be adjusted by setDualFeedHorizontalAlignmentOffset and setDualFeedVerticalAlignmentOffset.
The state of the tap zoom action. Only supported by Z30 camera. For Zenmuse H20 Series and Mavic 2 Enterprise Advanced, please access the value through class Lens.
Enum Members:
IDLE
The tap zoom is not triggered yet. It will always push IDLE if camera is not zooming.
ZOOM_IN
The camera is zooming in. The focal length increases, field of view becomes narrower and magnification is higher.
ZOOM_OUT
The camera is zooming in the focal length decreases, field of view becomes wider and magnification is lower.
ZOOM_LIMITED
It means the camera has reached its maximum focus length. It will always push ZOOM_LIMITED if the camera reaches its maximum focus length.
Camera focus mode. It is settable only when isAdjustableFocalPointSupported returns true and the physical AF switch on the camera is set to auto.
Enum Members:
MANUAL
The camera's focus mode is set to manual. In this mode, user sets the focus ring value to adjust the focal distance.
AUTO
The camera's focus mode is set to auto. For the Z30 camera, the focus is calculated completely automatically. For all other cameras, a focus target can be set by the user, which is used to calculate focus automatically.
AFC
The camera's focus mode is set to Continuous AF. It is only supported by Mavic Pro with firmware version V01.03.0000 or above, X4S camera, Mavic 2 Zoom camera and Mavic 2 Pro camera, DJI Air 2S.
The lens failed to focus on the target. This happens when the target is too close, or the camera cannot distinguish the object to focus (e.g. a white wall).
Camera photo file formats. The default value is JPEG.
Enum Members:
RAW
The camera's photo storage format is RAW.
JPEG
The camera's photo storage format is JPEG.
RAW_AND_JPEG
The camera stores both the RAW and JPEG formats of the photo.
TIFF_14_BIT
The camera's photo storage format is TIFF (14bit).
RADIOMETRIC_JPEG
The camera's photo storage format is Radiometric JPEG (a special JPEG format with temperature information). A radiometric JPEG has the .jpg suffix and can be viewed as a normal JPEG file would. At the same time, the temperature data is also stored in the file as meta data. PC software is required to analyze the file and it is accessible at FLIR's website http://www.flir.com/instruments/display/?id=54865. Only supported by XT camera with firmware version 1.16.1.70 or above.
TIFF_14_BIT_LINEAR_LOW_TEMP_RESOLUTION
The camera's photo storage format is TIFF Linear Low. In this mode each pixel is 14 bits and linearly proportional with temperature, covering a high dynamic range of temperature which results in a lower temperature resolution. Supported only by Zenmuse XT containing Advanced Radiometry capabilities with firmware version 1.17.1.80 or lower. For newer firmwares, the temperature resolution preference is coupled with the thermal gain mode.
TIFF_14_BIT_LINEAR_HIGH_TEMP_RESOLUTION
The camera's photo storage format is TIFF Linear High. In this mode each pixel is 14 bits and linearly proportional with temperature, covering a low dynamic range of temperature which results in a higher temperature resolution. Supported only by Zenmuse XT containing Advanced Radiometry capabilities with firmware version 1.17.1.80 or lower. For newer firmwares, the temperature resolution preference is coupled with the thermal gain mode.
The number of photos taken in one burst shot (shooting photo in burst mode).
Enum Members:
BURST_COUNT_2
The camera burst shoot count is set to capture 2 pictures at once when the camera shoots a photo.
BURST_COUNT_3
The camera burst shoot count is set to capture 3 pictures at once when the camera shoots a photo.
BURST_COUNT_5
The camera burst shoot count is set to capture 5 pictures at once when the camera takes a photo.
BURST_COUNT_7
The camera burst shoot count is set to capture 7 pictures at once when the camera takes a photo. It is not supported by Z30 camera.
BURST_COUNT_10
The camera burst shoot count is set to capture 10 pictures at once when the camera takes a photo. Only supported by X4S camera, X5S camera and Phantom 4 Pro camera.
BURST_COUNT_14
The camera burst shoot count is set to capture 14 pictures at once when the camera takes a photo. Only supported by X4S camera, X5S camera and Phantom 4 Pro camera.
CONTINUOUS
The camera burst shoot count is set to capture RAW pictures continuously until stopShootPhoto command is sent. It is only supported by Inspire 2 when the photo shoot mode is RAW burst.
File format for camera when it is in time-lapse mode. The default file format is video. If video+JPEG is selected the minimum interval will be 2 seconds.
Enum Members:
VIDEO
The camera in time-lapse mode will generate video.
JPEG_AND_VIDEO
The camera in time-lapse mode will generate video and JPEG.
The camera's video resolution is 640x360. Supported by Mavic 2 Enterprise Dual thermal camera.
RESOLUTION_720x576
The camera's video resolution is 720x576.
RESOLUTION_640x480
The camera's video resolution is 640x480.
RESOLUTION_640x512
The camera's video resolution is 640x512.
RESOLUTION_1280x720
The camera's video resolution is 1280x720.
RESOLUTION_1920x1080
The camera's video resolution is 1920x1080.
RESOLUTION_2704x1520
The camera's video resolution is 2704x1520.
RESOLUTION_2720x1530
The camera's video resolution is 2720x1530.
RESOLUTION_3712x2088
The camera's video resolution is 3712x2088. It's only used by X7 camera.
RESOLUTION_3840x1572
The camera's video resolution is 3840x1572.
RESOLUTION_3840x2160
The camera's video resolution is 3840x2160.
RESOLUTION_3944x2088
The camera's video resolution is 3944x2088. It's only used by X7 camera.
RESOLUTION_4096x2160
The camera's video resolution is 4096x2160.
RESOLUTION_4608x2160
The camera's video resolution is 4608x2160.
RESOLUTION_4608x2592
The camera's video resolution is 4608x2592.
RESOLUTION_5280x2160
The camera's video resolution is 5280x2160.
RESOLUTION_5472x3078
The camera's video resolution is 5472x3078.
RESOLUTION_5760X3240
The camera's video resolution is 5760x3240.
RESOLUTION_6016X3200
The camera's video resolution is 6016x3200.
RESOLUTION_MAX
The camera's video resolution will be maximum resolution supported by the camera sensor. For X5S and X4S, the maximum resolution is 5280x2972.
NO_SSD_VIDEO
The camera's SSD video resolution is unset. When the SSD resolution is unset, camera will not store video to SSD. SSD's resolution is determined by both license key and SD card's video frame rate. If there is no supported resolution with the current configuration, DJICameraVideoResolutionUnset will be selected and user should adjust either the license or the frame rate.
DJI camera's license keys. An Inspire 2 License Key activates the usage permission of CinemaDNG or Apple ProRes inside CineCore 2.0. License keys are obtained by by purchase from the DJI store website using the Inspire 2 serial number. The Inspire 2 is then connected to DJI Assistant 2, and the license keys downloaded to it. It is only supported X5S and X7 cameras.
The legacy camera color for videos that will be stored in SSD. The default value is NONE. It is only supported Inspire 2 with firmware package versions lower than 01.0.0240.
Enum Members:
NONE
The camera color is set to none. It is only supported by X5S on Inspire 2.
D_CINELIKE
The camera color is set to DCinelike. It is only supported by X5S on Inspire 2.
D_LOG
The camera color is set to DLog. It is only supported by X5S on Inspire 2.
D_COLOR_1
The camera color is set to DColor1. It is only supported by X5S on Inspire 2.
D_Color_2
The camera color is set to DColor2. It is only supported by X5S on Inspire 2.
D_COLOR_3
The camera color is set to DColor3. It is only supported by X5S on Inspire 2.
EI (exposure index) mode. In this mode, the camera mimics the way a film camera works to help cinematographers capture as much information as possible while balancing the dynamic range and noise with different log curves. This mode only takes effect when the camera mode is in RECORD_VIDEO.
Communication to SSD is not stable. User can re-plugin SSD. It is supported by X5S.
SWITCHING_LICENSE
SSD is switching the license key. It is supported by X5S.
FORMATTING_REQUIRED
Formatting is required. It is supported by X5S.
NOT_INITIALIZED
Not initialized yet. It is supported by X7.
INVALID_FILE_SYSTEM
The file system is not supported. It is supported by X7.
UNKNOWN
SSD state is unknown. This happens in the first 2 seconds after turning the camera power on as during this time the camera cannot check the state of the SSD.
Different storage locations supported by the camera.
Enum Members:
SDCARD
SD card.
INTERNAL_STORAGE
The internal storage embedded in the aircraft. When it is available, the camera can shoot photos or record videos without SD card. It is only supported by Mavic Air.
The different colors are used to show various temperatures in the thermal imagery image. The colors are not actually related to wavelengths of light, but rather the grayscale intensity.
Enum Members:
WHITE_HOT
Without Isotherm enabled, the Palette type is WhiteHot. With Isotherm enabled, the Palette type is WhiteHotIso.
BLACK_HOT
Without Isotherm enabled, the Palette type is BlackHot. With Isotherm enabled, the Palette type is BlackHotIso.
RED_HOT
Without Isotherm enabled, the Palette type is RedHot. With Isotherm enabled, the Palette type is RedHotIso. Shown as Tint in DJI Pilot.
GREEN_HOT
Without Isotherm enabled, the Palette type is GreenHot. With Isotherm enabled, the Palette type is GreenHotIso. Shown as Medical in DJI Pilot.
FUSION
Without Isotherm enabled, the Palette type is Fusion. With Isotherm enabled, the Palette type is FusionIso.
RAINBOW
Without Isotherm enabled, the Palette type is Rainbow. With Isotherm enabled, the Palette type is RainbowIso. Shown as Rainbow1 in DJI Pilot.
IRONBOW_1
Without Isotherm enabled, the Palette type is Ironbow1. With Isotherm enabled, the Palette type is IronbowWHIso. Shown as IronRed in DJI Pilot.
IRONBOW_2
Without Isotherm enabled, the Palette type is Ironbow2. With Isotherm enabled, the Palette type is IronbowBHIso.
ICE_FIRE
Without Isotherm enabled, the Palette type is IceFire. With Isotherm enabled, the Palette type is IceFireIso. Shown as Arctic in DJI Pilot.
SEPIA
Without Isotherm enabled, the Palette type is Sepia. With Isotherm enabled, the Palette type is SepiaIso.
GLOWBOW
Without Isotherm enabled, the Palette type is Glowbow. With Isotherm enabled, the Palette type is GlowbowIso.
COLOR_1
Without Isotherm enabled, the Palette type is Color1. With Isotherm enabled, the Palette type is MidRangeWHIso. Shown as Fulgurite in DJI Pilot.
COLOR_2
Without Isotherm enabled, the Palette type is Color2. With Isotherm enabled, the Palette type is MidRangeBHIso. Shown as HotIron in DJI Pilot.
RAIN
Without Isotherm enabled, the Palette type is Rain. With Isotherm enabled, the Palette type is RainbowHCIso. Shown as Rainbow2 in DJI Pilot.
HOT_SPOT
Without Isotherm enabled, the Palette type is HotSpot. With Isotherm enabled, the Palette type is HotSpotIso. Only supported by Mavic 2 Enterprise Dual.
RAINBOW2
Without Isotherm enabled, the Palette type is Rainbow2. With Isotherm enabled, the Palette type is Rainbow2Iso. Only supported by Mavic 2 Enterprise Dual.
GRAY
Without Isotherm enabled, the Palette type is Gray. With Isotherm enabled, the Palette type is GrayIso. Only supported by Mavic 2 Enterprise Dual.
HOT_METAL
Without Isotherm enabled, the Palette type is HotMetal. With Isotherm enabled, the Palette type is HotMetalIso. Only supported by Mavic 2 Enterprise Dual.
COLD_SPOT
Without Isotherm enabled, the Palette type is ColdSpot. With Isotherm enabled, the Palette type is ColdSpotIso. Only supported by Mavic 2 Enterprise Dual.
Thermal camera temperature measurement mode. The default value is Disabled.
Enum Members:
DISABLED
Disable temperature measuring.
SPOT_METERING
Enable temperature measurement and set mode to spot metering. Use setThermalTemperatureCallback to receive the updated temperature data. In this mode, the advanced radiometry version XT camera can change the metering point using setThermalSpotMeteringTargetPoint.
AREA_METERING
Enable temperature measurement and set mode to area metering. Use onUpdate to receive the updated temperature data. Only supported by the advanced radiometry version XT camera.
UNKNOWN
Thermal camera's temperature measurement mode is unknown.