DJI Windows SDK Documentation

class CameraHandler

sealed class CameraHandler
Declaration:DJI.WindowsSDK.Components
Description:

Handler.

Class Members:
property
property ProductIndex
uint ProductIndex { get; }
Declaration:DJI.WindowsSDK.Components
Description:

The index of the product to which this component handler belongs. The default product index is 0.

property ComponentIndex
uint ComponentIndex { get; }
Declaration:DJI.WindowsSDK.Components
Description:

The index of the component. It is unique for a type of components inside a product. It is useful when a product has multiple handlers of the same kind. If the product only has one handler of this kind, the index is 0.

method ~CameraHandler
~CameraHandler()
Declaration:DJI.WindowsSDK.Components
Description:

The destructor. It should not be called explicitly.

struct CameraFocusModeMsg
struct CameraFocusModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the camera's focus mode enum value.

Struct Members:
CameraFocusMode valueThe actual value of the class.
struct CameraSDCardStateMsg
struct CameraSDCardStateMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the SD card state of cameras.

Struct Members:
CameraSDCardState valueThe actual value of the class.
struct CameraExposureModeMsg
struct CameraExposureModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the exposure mode of cameras.

Struct Members:
CameraExposureMode valueThe actual value of the class.
struct CameraTypeMsg
struct CameraTypeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the camera type of cameras.

Struct Members:
CameraType valueThe actual value of the class.
struct VideoFileCompressionStandardMsg
struct VideoFileCompressionStandardMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the compression standard of cameras.

Struct Members:
VideoFileCompressionStandard valueThe actual value of the class.
struct CameraColorRangeMsg
struct CameraColorRangeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the color range of cameras.

struct VideoResolutionFrameRate
struct VideoResolutionFrameRate
Declaration:DJI.WindowsSDK
Description:

The resolution and the frame rate of videos

Struct Members:
VideoResolution resolutionThe resolution.
VideoFrameRate frameRateThe frame rate.
struct CameraColorMsg
struct CameraColorMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the color of cameras.

Struct Members:
CameraColor valueThe actual value of the class.
struct CameraExposureCompensationMsg
struct CameraExposureCompensationMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the exposure compensation value of cameras.

Struct Members:
CameraExposureCompensation valueThe actual value of the class.
struct CameraAntiFlickerMsg
struct CameraAntiFlickerMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the anti-flicker mode of cameras.

Struct Members:
CameraAntiFlicker valueThe actual value of the class.
struct PhotoRatioMsg
struct PhotoRatioMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the ratio of photos.

Struct Members:
PhotoRatio valueThe actual value of the class.
struct GeneratedMediaFileInfo
struct GeneratedMediaFileInfo
Declaration:DJI.WindowsSDK
Description:

The information of the newly generated media file.

Struct Members:
MediaFileType typeThe file format.
int indexThe file index.
int lengthThe file size in bytes.
int timeThe created time of the file.
struct CameraShootPhotoModeMsg
struct CameraShootPhotoModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains a shoot mode value of cameras.

Struct Members:
CameraShootPhotoMode valueThe actual value of the class.
struct CameraISOMsg
struct CameraISOMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains an ISO value of cameras.

Struct Members:
CameraISO valueThe actual value of the class.
struct CameraWorkModeMsg
struct CameraWorkModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains a work mode of cameras.

Struct Members:
CameraWorkMode valueThe actual value of the class.
struct CameraShutterSpeedMsg
struct CameraShutterSpeedMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains a shutter speed value of cameras.

Struct Members:
CameraShutterSpeed valueThe actual value of the class.
struct CameraActualFocusArea
struct CameraActualFocusArea
Declaration:DJI.WindowsSDK
Description:

The actual area for the camera to focus.

Struct Members:
int topLeftXThe x index of the area's top left corner.
int topLeftYThe y index of the area's top left corner.
int widthThe area's width.
int heightThe area's height.
struct CameraMeteringModeMsg
struct CameraMeteringModeMsg
Declaration:DJI.WindowsSDK
Description:

A class contains a metering mode value of cameras.

Struct Members:
CameraMeteringMode valueThe actual value of the class.
struct PhotoStorageFormatMsg
struct PhotoStorageFormatMsg
Declaration:DJI.WindowsSDK
Description:

A class contains a storage format of photos.

Struct Members:
PhotoStorageFormat valueThe actual value of the class.
struct CameraFocusStateMsg
struct CameraFocusStateMsg
Declaration:DJI.WindowsSDK
Description:

A class contains a focus state of cameras.

Struct Members:
CameraFocusState valueThe actual value of the class.
struct CameraWhiteBalance
struct CameraWhiteBalance
Declaration:DJI.WindowsSDK
Description:

A class contains current values for some camera parameters related to white balance.

Struct Members:
CameraWhiteBalanceMode modeThe preset white balance mode.
int colorTemperatureThe color temperature. It is only valid when CameraWhiteBalanceMode mode is MANUAL.
struct PhotoIntervalShootSettings
struct PhotoIntervalShootSettings
Declaration:DJI.WindowsSDK
Description:

Sets the number of pictures, and sets the time interval between pictures for the Interval shoot photo mode.

Struct Members:
int countThe number of photos to capture. The value range is [2, 255]. If 255 is selected, then the camera will continue to take pictures until StopShootPhotoAsync is called. For thermal imaging camera and Z30 camera, it can only be set to 255.
double intervalThe time interval between when two photos are taken. The range for this parameter depends the photo file format(PhotoStorageFormat). When the file format is JPEG, the range is [2, 2^16 - 1] seconds; when the file format is RAW or RAW+JPEG, the range is [10, 2^16 - 1] seconds.
struct CameraStorageLocationMsg
struct CameraStorageLocationMsg
Declaration:DJI.WindowsSDK
Description:

A class contains a storage location of cameras.

Struct Members:
CameraStorageLocation valueThe actual value of the class.
enum CameraFocusMode
enum CameraFocusMode
Declaration:DJI.WindowsSDK
Description:

Camera focus mode. For cameras with changeable lens, the focus mode is only valid when the physical AF switch on the camera is set to auto.

Enum Members:
MANUALThe camera's focus mode is set to manual. In this mode, user sets the focus ring value to adjust the focal distance.
AFThe camera's focus mode is set to auto. A focus target can be set by the user, which is used to calculate focus automatically.
AFCThe camera's focus mode is set to Continuous AF.
UNKNOWNUnknown.
enum CameraSDCardState
enum CameraSDCardState
Declaration:DJI.WindowsSDK
Description:

States of the camera's SD card.

Enum Members:
NORMALThe SD card is in the normal state.
NOT_INSERTEDThe SD card is not inserted.
INVALIDThe SD card is in invalid state.
READ_ONLYThe SD card is in read-only state and write operation is not allowed.
FORMAT_NEEDEDIt is required to format the SD card before using it.
FORMATTINGThe SD card is being formatted.
INVALID_FILE_SYSTEMThe SD card is using an invalid file system. Format the SD card before using it.
BUSYThe SD card is busy.
FULLThe SD card is full.
SLOWThe SD card is too slow.
UNKOWN_ERRORThe SD card encounters an unknown error.
NO_REMAINING_FILE_INDICESNo remaining file indices for any new photos or videos.
INITIALIZINGThe SD card is in initializing state.
FORMAT_RECOMMENDEDIt is recommended to format the SD card before using it.
RECOVERING_FILESThe camera is recovering the damaged files on the SD card.
WRITING_SLOWLYThe SD card is being written in a slow speed.
UNKNOWNUnknown.
enum CameraExposureMode
enum CameraExposureMode
Declaration:DJI.WindowsSDK
Description:

Camera exposure modes. 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.
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

Enum Members:
PROGRAMProgram mode.
SHUTTER_PRIORITYShutter priority mode.
APERTURE_PRIORITYAperture priority mode.
MANUALManual mode.
UNKNOWNUnknown.
enum CameraShutterSpeed
enum CameraShutterSpeed
Declaration:DJI.WindowsSDK
Description:

Camera's shutter speed options.

Enum Members:
SHUTTER_SPEED1_8000Camera's shutter speed 1/8000 s.
SHUTTER_SPEED1_6400Camera's shutter speed 1/6400 s.
SHUTTER_SPEED1_6000Camera's shutter speed 1/6000 s.
SHUTTER_SPEED1_5000Camera's shutter speed 1/5000 s.
SHUTTER_SPEED1_4000Camera's shutter speed 1/4000 s.
SHUTTER_SPEED1_3200Camera's shutter speed 1/3200 s.
SHUTTER_SPEED1_3000Camera's shutter speed 1/3000 s.
SHUTTER_SPEED1_2500Camera's shutter speed 1/2500 s.
SHUTTER_SPEED1_2000Camera's shutter speed 1/2000 s.
SHUTTER_SPEED1_1600Camera's shutter speed 1/1600 s.
SHUTTER_SPEED1_1500Camera's shutter speed 1/1500 s.
SHUTTER_SPEED1_1250Camera's shutter speed 1/1250 s.
SHUTTER_SPEED1_1000Camera's shutter speed 1/1000 s.
SHUTTER_SPEED1_800Camera's shutter speed 1/800 s.
SHUTTER_SPEED1_725Camera's shutter speed 1/725 s.
SHUTTER_SPEED1_640Camera's shutter speed 1/640 s.
SHUTTER_SPEED1_500Camera's shutter speed 1/500 s.
SHUTTER_SPEED1_400Camera's shutter speed 1/400 s.
SHUTTER_SPEED1_350Camera's shutter speed 1/350 s.
SHUTTER_SPEED1_320Camera's shutter speed 1/320 s.
SHUTTER_SPEED1_250Camera's shutter speed 1/250 s.
SHUTTER_SPEED1_240Camera's shutter speed 1/240 s.
SHUTTER_SPEED1_200Camera's shutter speed 1/200 s.
SHUTTER_SPEED1_180Camera's shutter speed 1/180 s.
SHUTTER_SPEED1_160Camera's shutter speed 1/160 s.
SHUTTER_SPEED1_125Camera's shutter speed 1/125 s.
SHUTTER_SPEED1_120Camera's shutter speed 1/120 s.
SHUTTER_SPEED1_100Camera's shutter speed 1/100 s.
SHUTTER_SPEED1_90Camera's shutter speed 1/90 s.
SHUTTER_SPEED1_80Camera's shutter speed 1/80 s.
SHUTTER_SPEED1_60Camera's shutter speed 1/60 s.
SHUTTER_SPEED1_50Camera's shutter speed 1/50 s.
SHUTTER_SPEED1_40Camera's shutter speed 1/40 s.
SHUTTER_SPEED1_30Camera's shutter speed 1/30 s.
SHUTTER_SPEED1_25Camera's shutter speed 1/25 s.
SHUTTER_SPEED1_20Camera's shutter speed 1/20 s.
SHUTTER_SPEED1_15Camera's shutter speed 1/15 s.
SHUTTER_SPEED1_12DOT5Camera's shutter speed 1/12.5 s.
SHUTTER_SPEED1_10Camera's shutter speed 1/10 s.
SHUTTER_SPEED1_8Camera's shutter speed 1/8 s.
SHUTTER_SPEED1_6DOT25Camera's shutter speed 1/6.25 s.
SHUTTER_SPEED1_5Camera's shutter speed 1/5 s.
SHUTTER_SPEED1_4Camera's shutter speed 1/4 s.
SHUTTER_SPEED1_3Camera's shutter speed 1/3 s.
SHUTTER_SPEED1_2DOT5Camera's shutter speed 1/2.5 s.
SHUTTER_SPEED1_2Camera's shutter speed 1/2 s.
SHUTTER_SPEED1_1DOT67Camera's shutter speed 1/1.67 s.
SHUTTER_SPEED1_1DOT25Camera's shutter speed 1/1.25 s.
SHUTTER_SPEED1Camera's shutter speed 1.0 s.
SHUTTER_SPEED1DOT3Camera's shutter speed 1.3 s.
SHUTTER_SPEED1DOT6Camera's shutter speed 1.6 s.
SHUTTER_SPEED2Camera's shutter speed 2.0 s.
SHUTTER_SPEED2DOT5Camera's shutter speed 2.5 s.
SHUTTER_SPEED3Camera's shutter speed 3.0 s.
SHUTTER_SPEED3DOT2Camera's shutter speed 3.2 s.
SHUTTER_SPEED4Camera's shutter speed 4.0 s.
SHUTTER_SPEED5Camera's shutter speed 5.0 s.
SHUTTER_SPEED6Camera's shutter speed 6.0 s.
SHUTTER_SPEED7Camera's shutter speed 7.0 s.
SHUTTER_SPEED8Camera's shutter speed 8.0 s.
SHUTTER_SPEED9Camera's shutter speed 9.0 s.
SHUTTER_SPEED10Camera's shutter speed 10.0 s.
SHUTTER_SPEED13Camera's shutter speed 13.0 s.
SHUTTER_SPEED15Camera's shutter speed 15.0 s.
SHUTTER_SPEED20Camera's shutter speed 20.0 s.
SHUTTER_SPEED25Camera's shutter speed 25.0 s.
SHUTTER_SPEED30Camera's shutter speed 30.0 s.
SHUTTER_SPEED40Camera's shutter speed 40.0s.
SHUTTER_SPEED50Camera's shutter speed 50.0s.
SHUTTER_SPEED60Camera's shutter speed 60.0s.
SHUTTER_SPEED80Camera's shutter speed 80.0s.
SHUTTER_SPEED100Camera's shutter speed 100.0s.
SHUTTER_SPEED120Camera's shutter speed 120.0s.
UNKNOWNUnknown.
enum VideoResolution
enum VideoResolution
Declaration:DJI.WindowsSDK
Description:

Camera video resolution values.

Enum Members:
RESOLUTION_640x480The camera's video resolution is 640x480.
RESOLUTION_640x512The camera's video resolution is 640x512.
RESOLUTION_1280x720The camera's video resolution is 1280x720.
RESOLUTION_1920x960The camera's video resolution is 1920x960.
RESOLUTION_1920x1080The camera's video resolution is 1920x1080.
RESOLUTION_2048x1080The camera's video resolution is 2048x1080.
RESOLUTION_2704x1520The camera's video resolution is 2704x1520.
RESOLUTION_2720x1530The camera's video resolution is 2720x1530.
RESOLUTION_3840x1572The camera's video resolution is 3840x1572.
RESOLUTION_3840x2160The camera's video resolution is 3840x2160.
RESOLUTION_4096x2160The camera's video resolution is 4096x2160.
RESOLUTION_4608x2160The camera's video resolution is 4608x2160.
RESOLUTION_4608x2592The camera's video resolution is 4608x2592.
RESOLUTION_5280x2160The camera's video resolution is 5280x2160.
RESOLUTION_5280x2972The camera's video resolution is 5280x2972.
RESOLUTION_5760x3240The camera's video resolution is 5760x3240.
RESOLUTION_6016x3200The camera's video resolution is 2720x2040P.
RESOLUTION_4000x3000The camera's video resolution is 4000x3000.
RESOLUTION_2880x1620The camera's video resolution is 2880x1620.
RESOLUTION_MAXThe camera's video resolution will be maximum resolution supported by the camera sensor. For X5S and X4S, the maximum resolution is 5280x2972.
RESOLUTION_NO_SSD_VIDEOThe 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, RESOLUTION_NO_SSD_VIDEO will be selected and user should adjust either the license or the frame rate.
RESOLUTION_2688x1512The camera's video resolution is 2688x1512.
RESOLUTION_2720x2040PThe camera's video resolution is 2720x2040.
UNKNOWNUnknown.
enum CameraType
enum CameraType
Declaration:DJI.WindowsSDK
Description:

Camera type of the device.

Enum Members:
MAVIC_AIR_CAMERAThe camera of mavic air.
MAVIC_2_ZOOMThe camera of mavic 2 zoom.
P4P_V2_CAMERAThe camera of p4p.
MAVIC_2_PROThe camera of mavic 2 pro.
ZENMUSE_XTZenmuse XT camera.
ZENMUSE_X4sZenmuse X4s camera.
ZENMUSE_X5sZenmuse X5s camera.
ZENMUSE_X7Zenmuse X7 camera.
ZENMUSE_X30Zenmuse X30 camera.
ZENMUSE_XT2Zenmuse XT2 camera.
PayloadThe camera of third-party paryload.
UNKNOWNUnknown.
enum VideoFileCompressionStandard
enum VideoFileCompressionStandard
Declaration:DJI.WindowsSDK
Description:

Camera video file compression standard values.

Enum Members:
H264H.264 format.
H265H.265 format.
UNKNOWNUnknown.
enum VideoFrameRate
enum VideoFrameRate
Declaration:DJI.WindowsSDK
Description:

Camera video frame rate values.

Enum Members:
RATE_24FPSThe camera's video frame rate is 23.976fps (frames per second).
RATE_25FPSThe camera's video frame rate is 25fps (frames per second).
RATE_30FPSThe camera's video frame rate is 29.97fps (frames per second).
RATE_48FPSThe camera's video frame rate is 47.95fps (frames per second).
RATE_50FPSThe camera's video frame rate is 50fps (frames per second).
RATE_60FPSThe camera's video frame rate is 59.94fps (frames per second).
RATE_90FPSThe camera's video frame rate is 90fps (frames per second).
RATE_96FPSThe camera's video frame rate is 96fps (frames per second).
RATE_100FPSThe camera's video frame rate is 100fps (frames per second).
RATE_120FPSThe camera's video frame rate is 120fps (frames per second).
RATE_180FPSThe camera's video frame rate is 180fps (frames per second).
RATE_192FPSThe camera's video frame rate is 192fps (frames per second).
RATE_200FPSThe camera's video frame rate is 200fps (frames per second).
RATE_240FPSThe camera's video frame rate is 240fps (frames per second).
RATE_400FPSThe camera's video frame rate is 400fps (frames per second).
RATE_480FPSThe camera's video frame rate is 480fps (frames per second).
RATE_PRECISE_24FPSThe camera's video frame rate is 24fps (frames per second).
RATE_PRECISE_30FPSThe camera's video frame rate is 30fps (frames per second).
RATE_PRECISE_48FPSThe camera's video frame rate is 48fps (frames per second).
RATE_PRECISE_60FPSThe camera's video frame rate is 60fps (frames per second).
RATE_8DOT7_FPSThe camera's video frame rate is 8.7fps (frames per second).
UNKNOWNUnknown.
enum CameraAntiFlicker
enum CameraAntiFlicker
Declaration:DJI.WindowsSDK
Description:

Camera anti-flicker options.

Enum Members:
ANTI_FLICKER_AUTOThe camera's anti-flicker is automatically set.
ANTI_FLICKER_60HZThe camera's anti-flicker is 60 Hz.
ANTI_FLICKER_50HZThe camera's anti-flicker is 50 Hz.
ANTI_FLICKER_OFFThe camera's anti-flicker is off.
UNKNOWNUnknown.
enum CameraColor
enum CameraColor
Declaration:DJI.WindowsSDK
Description:

Camera color.

Enum Members:
NONENone.
ARTArt.
REMINISCENCEReminiscence.
D_CINE_LIKED-Clinelike.
BLACK_WHITEBlack and white.
D_LOGDLog.
FILMFilm.
FILM_BFilm B.
FILM_CFilm C.
FILM_DFilm D.
FILM_EFilm E.
FILM_FFilm F.
FILM_GFilm G.
FILM_HFilm H.
FILM_IFilm I.
HLGHLG.
TRUE_COLORTrue color.
UNKNOWNUnknown.
enum CameraExposureCompensation
enum CameraExposureCompensation
Declaration:DJI.WindowsSDK
Description:

Camera exposure compensation.

Enum Members:
NEG_5P0EVThe camera's exposure compensation is -5.0ev.
NEG_4P7EVThe camera's exposure compensation is -4.7ev.
NEG_4P3EVThe camera's exposure compensation is -4.3ev.
NEG_4P0EVThe camera's exposure compensation is -4.0ev.
NEG_3P7EVThe camera's exposure compensation is -3.7ev.
NEG_3P3EVThe camera's exposure compensation is -3.3ev.
NEG_3P0EVThe camera's exposure compensation is -3.0ev.
NEG_2P7EVThe camera's exposure compensation is -2.7ev.
NEG_2P3EVThe camera's exposure compensation is -2.3ev.
NEG_2P0EVThe camera's exposure compensation is -2.0ev.
NEG_1P7EVThe camera's exposure compensation is -1.7ev.
NEG_1P3EVThe camera's exposure compensation is -1.3ev.
NEG_1P0EVThe camera's exposure compensation is -1.0ev.
NEG_0P7EVThe camera's exposure compensation is -0.7ev.
NEG_0P3EVThe camera's exposure compensation is -0.3ev.
NEG_0EVThe camera's exposure compensation is 0.0ev.
POS_0P3EVThe camera's exposure compensation is +0.3ev.
POS_0P7EVThe camera's exposure compensation is +0.7ev.
POS_1P0EVThe camera's exposure compensation is +1.0ev.
POS_1P3EVThe camera's exposure compensation is +1.3ev.
POS_1P7EVThe camera's exposure compensation is +1.7ev.
POS_2P0EVThe camera's exposure compensation is +2.0ev.
POS_2P3EVThe camera's exposure compensation is +2.3ev.
POS_2P7EVThe camera's exposure compensation is +2.7ev.
POS_3P0EVThe camera's exposure compensation is +3.0ev.
POS_3P3EVThe camera's exposure compensation is +3.3ev.
POS_3P7EVThe camera's exposure compensation is +3.7ev.
POS_4P0EVThe camera's exposure compensation is +4.0ev.
POS_4P3EVThe camera's exposure compensation is +4.3ev.
POS_4P7EVThe camera's exposure compensation is +4.7ev.
POS_5P0EVThe camera's exposure compensation is +5.0ev.
UNKNOWNUnknown.
enum CameraWorkMode
enum CameraWorkMode
Declaration:DJI.WindowsSDK
Description:

Camera work modes.

Enum Members:
SHOOT_PHOTOShoot photo mode. In this mode, the user can shoot photos.
RECORD_VIDEORecord video mode. In this mode, the user can record videos.
PLAYBACKPlayback mode. In this mode, the user can preview photos and videos, and can delete files.
MEDIA_DOWNLOADIn this mode, the user can download media to the Mobile Device.
BROADCASTIn 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.
TRANSCODEIn this mode, the user can download media to the Mobile Device.
UNKNOWNUnknown.
enum CameraShootPhotoMode
enum CameraShootPhotoMode
Declaration:DJI.WindowsSDK
Description:

The ShootPhoto mode itself can have several modes.

Enum Members:
NORMALSets the camera to take a single photo.
HDRSets the camera to take an HDR photo.
BURSTSet the camera to take multiple photos at once.
AEBAutomatic 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.
INTERVALSets the camera to take a picture (or multiple pictures) continuously at a set time interval.
RAW_BURSTSets the camera to take a burst of RAW photos. Use rawPhotoBurstCount to check how many photos have been shot. Only supported by X5S.
EHDRSets 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.
UNKNOWNUnknown.
enum CameraISO
enum CameraISO
Declaration:DJI.WindowsSDK
Description:

Camera ISO values.

Enum Members:
ISO_AUTOThe ISO value is automatically set. This cannot be used for all cameras when in Manual mode.
ISO_100The ISO value is set to 100.
ISO_200The ISO value is set to 200.
ISO_400The ISO value is set to 400.
ISO_800The ISO value is set to 800.
ISO_1600The ISO value is set to 1600.
ISO_3200The ISO value is set to 3200.
ISO_6400The ISO value is set to 6400.
ISO_12800The ISO value is set to 12800.
ISO_25600The ISO value is set to 25600.
ISO_FIXEDISO value is fixed by the camera firmware. When the digital filter 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 ISO.
UNKNOWNUnknown.
enum PhotoRatio
enum PhotoRatio
Declaration:DJI.WindowsSDK
Description:

Photo aspect ratio, where the first value is the width and the second value is the height.

Enum Members:
RATIO_4COLON3The camera's photo ratio is 4:3.
RATIO_16COLON9The camera's photo ratio is 16:9.
RATIO_3COLON2The camera's photo ratio is 3:2. It is only supported by Phantom 4 Pro camera.
RATIO_SQUAREThe camera's photo ratio is 1:1.
RATIO_18COLON9The camera's photo ratio is 18:9.
UNKNOWNUnknown.
enum MediaFileType
enum MediaFileType
Declaration:DJI.WindowsSDK
Description:

File type of the media file.

Enum Members:
JPEGImage of JPEG format.
DNGImage of DNG format.
MOVVideo of MOV format.
MP4Video of MP4 format.
PANORAMAPanorama file type.
TIFFTIFF file type.
UNKNOWNUnknown.
enum CameraMeteringMode
enum CameraMeteringMode
Declaration:DJI.WindowsSDK
Description:

Camera exposure metering.

Enum Members:
CENTERThe camera's exposure metering is set to the center.
AVERAGEThe camera's exposure metering is set to average.
SPOTThe camera's exposure metering is set to a single spot.
UNKNOWNUnknown.
enum PhotoStorageFormat
enum PhotoStorageFormat
Declaration:DJI.WindowsSDK
Description:

Camera photo file formats.

Enum Members:
RAWThe camera's photo storage format is RAW.
JPEGThe camera's photo storage format is JPEG.
RAW_JPEGThe camera stores both the RAW and JPEG formats of the photo.
UNKNOWNUnknown.
enum CameraFocusState
enum CameraFocusState
Declaration:DJI.WindowsSDK
Description:

The focusing status of the camera.

Enum Members:
IDLEThe camera is idle. No focus target has been set.
FOCUSINGThe camera is focusing on the target.
SUCCESSFULThe camera succeeded to focus on the target.
FAILEDThe camera 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).
UNKNOWNUnknown.
enum CameraStorageLocation
enum CameraStorageLocation
Declaration:DJI.WindowsSDK
Description:

Different storage locations supported by the camera.

Enum Members:
SDCARDSD card.
EMMCThe 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.
UNKNOWNUnknown.
enum CameraZoomDirection
enum CameraZoomDirection
Declaration:DJI.WindowsSDK
Description:

The direction to adjust the camera zoom (camera focal length). Supported by X5, X5R and X5S with zoom lens, Z3 camera, Z30 camera, Mavic 2 Zoom camera and Mavic 2 Enterprise camera.

Enum Members:
ZOOM_INLens will zoom in. The focal length increases, field of view becomes narrower and magnification is higher.
ZOOM_OUTLens will zoom out. The focal length decreases, field of view becomes wider and magnification is lower.
UNKNOWNUnknown.
enum CameraZoomSpeed
enum CameraZoomSpeed
Declaration:DJI.WindowsSDK
Description:

The speed of lens to zoom. The speed of lens to zoom. Supported by X5, X5R and X5S with zoom lens, Z3 camera, Z30 camera, Mavic 2 Zoom camera and Mavic 2 Enterprise camera.

Enum Members:
SLOWESTLens zooms very in slowest speed.
SLOWLens zooms in slow speed.
MODERATELY_SLOWLens zooms in speed slightly slower than normal speed.
NORMALLens zooms in normal speed.
MODERATELY_FASTLens zooms very in speed slightly faster than normal speed.
FASTLens zooms very in fast speed..
UNKNOWNUnknown.
enum VideoStorageFormat
enum VideoStorageFormat
Declaration:DJI.WindowsSDK
Description:

Video's storage format.

Enum Members:
MOVMOV format.
MP4MP4 format.
UNKNOWNUnknown.
enum PhotoBurstCount
enum PhotoBurstCount
Declaration:DJI.WindowsSDK
Description:

The number of photos taken in one burst shot (shooting photo in burst mode).

Enum Members:
COUNT3The camera burst shoot count is set to capture 3 pictures at once when the camera shoots a photo.
COUNT5The camera burst shoot count is set to capture 5 pictures at once when the camera shoots a photo.
COUNT10The camera burst shoot count is set to capture 10 pictures at once when the camera shoots a photo.
COUNT14The camera burst shoot count is set to capture 14 pictures at once when the camera shoots a photo.
UNKNOWNUnknown.
enum CameraAutoTurnOffLEDMode
enum CameraAutoTurnOffLEDMode
Declaration:DJI.WindowsSDK
Description:

Determines which LEDs of the aircraft to be in automatic control. Supported only by Mavic Pro, Mavic Air, and Mavic 2 series.

Enum Members:
DISABLEDDisabled.
FRONT_LEDS_ONLYFront LEDs is enabled.
BACK_LEDS_ONLYBack LEDs is enabled.
ALL_LEDSAll LEDs is enabled.
UNKNOWNUnknown.
enum CameraThermalROI
enum CameraThermalROI
Declaration:DJI.WindowsSDK
Description:

Region of interest. Use this feature to manage color range distribution across the screen to maximize contrast for regions of highest interest.

Enum Members:
FULLCauses the color spectrum to be evenly distributed across the entire image depending the default settings.
SKY_EXCLUDED33Ignores areas of the sky 33% so that most of the spectrum can be allocated to remaining areas, providing higher contrast and utility for analysis.
SKY_EXCLUDED50Ignores areas of the sky 50% so that most of the spectrum can be allocated to remaining areas, providing higher contrast and utility for analysis.
UNKNOWNThe ROI type is unknown.
enum CameraThermalPalette
enum CameraThermalPalette
Declaration:DJI.WindowsSDK
Description:

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_HOTWithout Isotherm enabled, the Palette type is WhiteHot. With Isotherm enabled, the Palette type is WhiteHotIso.
BLACK_HOTWithout Isotherm enabled, the Palette type is BlackHot. With Isotherm enabled, the Palette type is BlackHotIso.
RED_HOTWithout Isotherm enabled, the Palette type is RedHot. With Isotherm enabled, the Palette type is RedHotIso.
GREEN_HOTWithout Isotherm enabled, the Palette type is GreenHot. With Isotherm enabled, the Palette type is GreenHotIso.
FUSIONWithout Isotherm enabled, the Palette type is Fusion. With Isotherm enabled, the Palette type is FusionIso.
RAINBOWWithout Isotherm enabled, the Palette type is Rainbow. With Isotherm enabled, the Palette type is RainbowIso.
IRONBOW1Without Isotherm enabled, the Palette type is Ironbow1. With Isotherm enabled, the Palette type is IronbowWHIso.
IRONBOW2Without Isotherm enabled, the Palette type is Ironbow2. With Isotherm enabled, the Palette type is IronbowBHIso.
ICE_FIREWithout Isotherm enabled, the Palette type is IceFire. With Isotherm enabled, the Palette type is IceFireIso.
SEPIAWithout Isotherm enabled, the Palette type is Sepia. With Isotherm enabled, the Palette type is SepiaIso.
GLOWBOWWithout Isotherm enabled, the Palette type is Glowbow. With Isotherm enabled, the Palette type is GlowbowIso.
COLOR1Without Isotherm enabled, the Palette type is Color1. With Isotherm enabled, the Palette type is MidRangeWHIso.
COLOR2Without Isotherm enabled, the Palette type is Color2. With Isotherm enabled, the Palette type is MidRangeBHIso.
RAINWithout Isotherm enabled, the Palette type is Rain. With Isotherm enabled, the Palette type is RainbowHCIso.
HOT_SPOTWithout Isotherm enabled, the Palette type is HotSpot. With Isotherm enabled, the Palette type is HotSpotIso. Only supported by Mavic 2 Enterprise Dual.
RAINBOW2Without Isotherm enabled, the Palette type is Rainbow2. With Isotherm enabled, the Palette type is Rainbow2Iso. Only supported by Mavic 2 Enterprise Dual.
GRAYWithout Isotherm enabled, the Palette type is Gray. With Isotherm enabled, the Palette type is GrayIso. Only supported by Mavic 2 Enterprise Dual.
METALWithout Isotherm enabled, the Palette type is HotMetal. With Isotherm enabled, the Palette type is HotMetalIso. Only supported by Mavic 2 Enterprise Dual.
COLD_SPOTWithout Isotherm enabled, the Palette type is ColdSpot. With Isotherm enabled, the Palette type is ColdSpotIso. Only supported by Mavic 2 Enterprise Dual.
UNKNOWNThe palette type is unknown.
enum CameraThermalGainMode
enum CameraThermalGainMode
Declaration:DJI.WindowsSDK
Description:

The gain mode.

Enum Members:
AUTOThe camera will automatically select the optimal gain mode according to the temperature range of the image.
LOWThe camera covers a wider temperature range but is less sensitive to temperature differences.
HIGHThe camera covers a smaller temperature range but is more sensitive to temperature differences.
UNKNOWNThe gain mode is unknown.
enum CameraThermalFFCMode
enum CameraThermalFFCMode
Declaration:DJI.WindowsSDK
Description:

Flat-field correction mods.

Enum Members:
AUTOAutomatic flat-field correction mode.
MANUALManual flat-field correction mode.
UNKNOWNUnknown flat-field correction mode.
enum CameraThermalMeasurementMode
enum CameraThermalMeasurementMode
Declaration:DJI.WindowsSDK
Description:

Thermal camera temperature measurement mode. The default value is DJICameraThermalMeasurementModeDisabled .

Enum Members:
DISABLEDDisable temperature measuring.
SPOT_METERINGEnable temperature measurement and set mode to spot metering.
AREA_METERINGEnable temperature measurement and set mode to area metering.
UNKNOWNThermal camera's temperature measurement mode is unknown.
enum CameraDisplayMode
enum CameraDisplayMode
Declaration:DJI.WindowsSDK
Description:

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_ONLYDisplays only the video feed from the visual camera.
THERMAL_ONLYDisplays only the video feed from the thermal camera.
PIPDisplays 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. Not supported by Mavic 2 Enterprise Dual.
MSXMulti-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.
UNKNOWNThe thermal video feed display mode is unknown.
enum CameraTemperatureUnit
enum CameraTemperatureUnit
Declaration:DJI.WindowsSDK
Description:

The temperature units.

Enum Members:
FAHRENHEITUse degree Fahrenheit as the unit.
CELSIUSUse degree Celsius as the unit.
UNKNOWNUnknown.
enum CameraThermalIsothermUnit
enum CameraThermalIsothermUnit
Declaration:DJI.WindowsSDK
Description:

The unit type is percentage. The allowed range is [0, 100].

Enum Members:
PERCENTAGEThe unit type is percentage. The allowed range is [0, 100].
CELSIUSThe unit type is degrees Celsius. The allowed range is [-40, 1000].
UNKNOWNThe unit type is unknown.
enum CameraFileIndexMode
enum CameraFileIndexMode
Declaration:DJI.WindowsSDK
Description:

File index modes.

Enum Members:
UNKNOWNThe mode is unknown.
SEQUENCECamera will set the newest file's index to the larger of either the maximum number of photos taken on the SD card or the camera.
RESETCamera will reset the newest file's index to be one larger than the largest number of photos taken on the SD card.
struct CameraFileIndexModeMsg
struct CameraFileIndexModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the file index modes of cameras.

Struct Members:
CameraFileIndexMode valueThe actual value of the class.
struct CameraOpticalZoomSpec
struct CameraOpticalZoomSpec
Declaration:DJI.WindowsSDK
Description:

Zoom lens profile. Includes focal length range and minimum focal length step. Supported by X5, X5R and X5S with zoom lens, Z3 camera and Z30 camera.

Struct Members:
int minFocalLengthThe minimum focal length of the lens in units of 0.1mm.
int focalLengthStepThe minimum interval of focal length change in units of 0.1mm.
int maxFocalLengthThe maximum focal length of the lens in units of 0.1mm.
struct CameraThermalGainModeMsg
struct CameraThermalGainModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the thermal gain mode of camera. Supported only by XT2, Mavic 2 Enterprise Dual and Zenmuse XT containing Advanced Radiometry capabilities.

Struct Members:
CameraThermalGainMode valueThe actual value of the class.
struct CameraThermalIsothermUnitMsg
struct CameraThermalIsothermUnitMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains that unit for Isotherm.

Struct Members:
CameraThermalIsothermUnit valueThe actual value of the class.
struct CameraTemperatureUnitMsg
struct CameraTemperatureUnitMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the temperature unit.

Struct Members:
CameraTemperatureUnit valueThe actual value of the class.
struct CameraThermalPaletteRangeMsg
struct CameraThermalPaletteRangeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the range of the thermal palettes supported by the camera.

struct CameraDisplayModeMsg
struct CameraDisplayModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the display mode of camera.

Struct Members:
CameraDisplayMode valueThe actual value of the class.
struct PhotoBurstCountMsg
struct PhotoBurstCountMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the brust count of camera.

Struct Members:
PhotoBurstCount valueThe actual value of the class.
struct CameraWatermarkSettings
struct CameraWatermarkSettings
Declaration:DJI.WindowsSDK
Description:

The watermark configuration to decide if timestamp and location stamp will be added to photos or videos.

Struct Members:
bool enabledForPhotosTrue if the timestamp and the location stamp is added to photos.
bool enabledForVideosTrue if the timestamp and the location stamp is added to videos. The stamps are updated during the videos.
struct CameraContinuousOpticalZoomParam
struct CameraContinuousOpticalZoomParam
Declaration:DJI.WindowsSDK
Description:

A class that contains the parameters of starting continuous optical zooming.

Struct Members:
CameraZoomSpeed speedZoom speed.
CameraZoomDirection directionDirection to zoom.
struct CameraAutoTurnOffLEDModeMsg
struct CameraAutoTurnOffLEDModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the mode.

Struct Members:
CameraAutoTurnOffLEDMode valueThe actual value of the class.
struct CameraThermalPaletteMsg
struct CameraThermalPaletteMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the different colors are used to show various temperatures in the thermal imagery image.

Struct Members:
CameraThermalPalette valueThe actual value of the class.
struct CameraThermalFFCModeMsg
struct CameraThermalFFCModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the thermal FFC mode.

Struct Members:
CameraThermalFFCMode valueThe actual value of the class.
struct CameraThermalMeasurementModeMsg
struct CameraThermalMeasurementModeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the mode of thermal measurement.

Struct Members:
CameraThermalMeasurementMode valueThe actual value of the class.
struct VideoStorageFormatMsg
struct VideoStorageFormatMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the video storage format.

Struct Members:
VideoStorageFormat valueThe actual value of the class.
struct CameraHistogram
struct CameraHistogram
Declaration:DJI.WindowsSDK
Description:

A class that contains the histogram's value.

struct CameraThermalROIMsg
struct CameraThermalROIMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the camera thermal ROI.

Struct Members:
CameraThermalROI valueThe actual value of the class.
method ThermalTriggerFFCAsync
async Task<SDKError> ThermalTriggerFFCAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Trigger flat-field correction. Supported only by thermal imaging cameras.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
struct CameraOrientationMsg
struct CameraOrientationMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the orientation of camera.

Struct Members:
CameraOrientation valueThe actual value of the class.
enum CameraOrientation
enum CameraOrientation
Declaration:DJI.WindowsSDK
Description:

Physical orientation of the camera.

Enum Members:
CW180180 degrees in the clockwise direction from the default landscape orientation.
CW270270 degrees in the clockwise direction from the default landscape orientation.
CW9090 degrees in the clockwise direction from the default landscape orientation.
DEFAULTDefault.
UNKNOWNUnknown.
struct CameraPanoTypeMsg
struct CameraPanoTypeMsg
Declaration:DJI.WindowsSDK
Description:

A class that contains the panorama type.

Struct Members:
CameraPanoType valueThe actual value of the class.
enum CameraPanoType
enum CameraPanoType
Declaration:DJI.WindowsSDK
Description:

Panorama photo typs.

Enum Members:
TYPE_360AUTO360 degrees panorama.
TYPE_BALLBall panorama.
TYPE_CYLINDRICALCylindrical 180 degrees panorama.
TYPE_MANUALMannually panorama.
TYPE_SECTORIAL3x3 panorama.
TYPE_SELFSelf panorama.
TYPE_VERTICALVertical panorama.
UNKNOWNUnknown.
delegate CameraAntiFlickerMsgChangedEventHandler
delegate void CameraAntiFlickerMsgChangedEventHandler(object sender, CameraAntiFlickerMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraAntiFlickerMsg.

delegate CameraISOMsgChangedEventHandler
delegate void CameraISOMsgChangedEventHandler(object sender, CameraISOMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraISOMsg.

delegate CameraColorMsgChangedEventHandler
delegate void CameraColorMsgChangedEventHandler(object sender, CameraColorMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraColorMsg.

delegate PhotoIntervalShootSettingsChangedEventHandler
delegate void PhotoIntervalShootSettingsChangedEventHandler(object sender, PhotoIntervalShootSettings? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type PhotoIntervalShootSettings.

delegate PhotoStorageFormatMsgChangedEventHandler
delegate void PhotoStorageFormatMsgChangedEventHandler(object sender, PhotoStorageFormatMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type PhotoStorageFormatMsg.

delegate CameraFocusModeMsgChangedEventHandler
delegate void CameraFocusModeMsgChangedEventHandler(object sender, CameraFocusModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraFocusModeMsg.

delegate CameraShootPhotoModeMsgChangedEventHandler
delegate void CameraShootPhotoModeMsgChangedEventHandler(object sender, CameraShootPhotoModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraShootPhotoModeMsg.

delegate CameraShutterSpeedMsgChangedEventHandler
delegate void CameraShutterSpeedMsgChangedEventHandler(object sender, CameraShutterSpeedMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraShutterSpeedMsg.

delegate CameraWhiteBalanceChangedEventHandler
delegate void CameraWhiteBalanceChangedEventHandler(object sender, CameraWhiteBalance? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraWhiteBalance.

delegate CameraWorkModeMsgChangedEventHandler
delegate void CameraWorkModeMsgChangedEventHandler(object sender, CameraWorkModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraWorkModeMsg.

delegate PhotoRatioMsgChangedEventHandler
delegate void PhotoRatioMsgChangedEventHandler(object sender, PhotoRatioMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type PhotoRatioMsg.

delegate CameraExposureCompensationMsgChangedEventHandler
delegate void CameraExposureCompensationMsgChangedEventHandler(object sender, CameraExposureCompensationMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraExposureCompensationMsg.

delegate CameraActualFocusAreaChangedEventHandler
delegate void CameraActualFocusAreaChangedEventHandler(object sender, CameraActualFocusArea? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraActualFocusArea.

delegate CameraMeteringModeMsgChangedEventHandler
delegate void CameraMeteringModeMsgChangedEventHandler(object sender, CameraMeteringModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraMeteringModeMsg.

delegate VideoResolutionFrameRateChangedEventHandler
delegate void VideoResolutionFrameRateChangedEventHandler(object sender, VideoResolutionFrameRate? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type VideoResolutionFrameRate.

delegate CameraFocusStateMsgChangedEventHandler
delegate void CameraFocusStateMsgChangedEventHandler(object sender, CameraFocusStateMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraFocusStateMsg.

delegate CameraExposureModeMsgChangedEventHandler
delegate void CameraExposureModeMsgChangedEventHandler(object sender, CameraExposureModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraExposureModeMsg.

delegate GeneratedMediaFileInfoChangedEventHandler
delegate void GeneratedMediaFileInfoChangedEventHandler(object sender, GeneratedMediaFileInfo? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type GeneratedMediaFileInfo.

delegate CameraSDCardStateMsgChangedEventHandler
delegate void CameraSDCardStateMsgChangedEventHandler(object sender, CameraSDCardStateMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraSDCardStateMsg.

delegate CameraColorRangeMsgChangedEventHandler
delegate void CameraColorRangeMsgChangedEventHandler(object sender, CameraColorRangeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraColorRangeMsg.

delegate CameraTypeMsgChangedEventHandler
delegate void CameraTypeMsgChangedEventHandler(object sender, CameraTypeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraTypeMsg.

delegate VideoFileCompressionStandardMsgChangedEventHandler
delegate void VideoFileCompressionStandardMsgChangedEventHandler(object sender, VideoFileCompressionStandardMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type VideoFileCompressionStandardMsg.

delegate CameraThermalGainModeMsgChangedEventHandler
delegate void CameraThermalGainModeMsgChangedEventHandler(object sender, CameraThermalGainModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalGainModeMsg.

delegate CameraHistogramChangedEventHandler
delegate void CameraHistogramChangedEventHandler(object sender, CameraHistogram? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraHistogram.

delegate CameraThermalPaletteRangeMsgChangedEventHandler
delegate void CameraThermalPaletteRangeMsgChangedEventHandler(object sender, CameraThermalPaletteRangeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalPaletteRangeMsg.

delegate CameraTemperatureUnitMsgChangedEventHandler
delegate void CameraTemperatureUnitMsgChangedEventHandler(object sender, CameraTemperatureUnitMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraTemperatureUnitMsg.

delegate IntMinMaxChangedEventHandler
delegate void IntMinMaxChangedEventHandler(object sender, IntMinMax? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type IntMinMax.

delegate CameraThermalIsothermUnitMsgChangedEventHandler
delegate void CameraThermalIsothermUnitMsgChangedEventHandler(object sender, CameraThermalIsothermUnitMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalIsothermUnitMsg.

delegate VideoStorageFormatMsgChangedEventHandler
delegate void VideoStorageFormatMsgChangedEventHandler(object sender, VideoStorageFormatMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type VideoStorageFormatMsg.

delegate CameraThermalMeasurementModeMsgChangedEventHandler
delegate void CameraThermalMeasurementModeMsgChangedEventHandler(object sender, CameraThermalMeasurementModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalMeasurementModeMsg.

delegate CameraThermalFFCModeMsgChangedEventHandler
delegate void CameraThermalFFCModeMsgChangedEventHandler(object sender, CameraThermalFFCModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalFFCModeMsg.

delegate PhotoBurstCountMsgChangedEventHandler
delegate void PhotoBurstCountMsgChangedEventHandler(object sender, PhotoBurstCountMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type PhotoBurstCountMsg.

delegate CameraThermalPaletteMsgChangedEventHandler
delegate void CameraThermalPaletteMsgChangedEventHandler(object sender, CameraThermalPaletteMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalPaletteMsg.

delegate CameraAutoTurnOffLEDModeMsgChangedEventHandler
delegate void CameraAutoTurnOffLEDModeMsgChangedEventHandler(object sender, CameraAutoTurnOffLEDModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraAutoTurnOffLEDModeMsg.

delegate CameraOpticalZoomSpecChangedEventHandler
delegate void CameraOpticalZoomSpecChangedEventHandler(object sender, CameraOpticalZoomSpec? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraOpticalZoomSpec.

delegate CameraFileIndexModeMsgChangedEventHandler
delegate void CameraFileIndexModeMsgChangedEventHandler(object sender, CameraFileIndexModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraFileIndexModeMsg.

delegate CameraThermalROIMsgChangedEventHandler
delegate void CameraThermalROIMsgChangedEventHandler(object sender, CameraThermalROIMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraThermalROIMsg.

delegate CameraDisplayModeMsgChangedEventHandler
delegate void CameraDisplayModeMsgChangedEventHandler(object sender, CameraDisplayModeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraDisplayModeMsg.

delegate CameraOrientationMsgChangedEventHandler
delegate void CameraOrientationMsgChangedEventHandler(object sender, CameraOrientationMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraOrientationMsg.

delegate CameraPanoTypeMsgChangedEventHandler
delegate void CameraPanoTypeMsgChangedEventHandler(object sender, CameraPanoTypeMsg? value)
Declaration:DJI.WindowsSDK
Description:

A delegate type used to subscribe the updated values in type CameraPanoTypeMsg.

method GetIsTakingPhotoAsync
async Task<ResultValue<BoolMsg?>> GetIsTakingPhotoAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check if the camera is shooting photos.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<BoolMsg?>> object.
method GetCameraTypeAsync
async Task<ResultValue<CameraTypeMsg?>> GetCameraTypeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter the camera type of the aircraft.

Return:
async Task<ResultValue<CameraTypeMsg?>>A Task<ResultValue<CameraTypeMsg?>> object.
method GetCameraColorRangeAsync
async Task<ResultValue<CameraColorRangeMsg?>> GetCameraColorRangeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter the camera color of the camera.

Return:
async Task<ResultValue<CameraColorRangeMsg?>>A Task<ResultValue<CameraColorRangeMsg?>> object.
method GetIsRecordingAsync
async Task<ResultValue<BoolMsg?>> GetIsRecordingAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check if the camera is recording videos.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<BoolMsg?>> object.
method GetVideoFileCompressionStandardAsync
async Task<ResultValue<VideoFileCompressionStandardMsg?>> GetVideoFileCompressionStandardAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to get video file comression standard.

Return:
async Task<ResultValue<VideoFileCompressionStandardMsg?>>A Task<ResultValue<VideoFileCompressionStandardMsg?>> object.
method SetVideoFileCompressionStandardAsync
async Task<SDKError> SetVideoFileCompressionStandardAsync(VideoFileCompressionStandardMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the video file comression standard of aircraft.

Input Parameters:
VideoFileCompressionStandardMsg valueA parameter object of type VideoFileCompressionStandardMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetPhotoRatioAsync
async Task<SDKError> SetPhotoRatioAsync(PhotoRatioMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the photo ratio for the camera.

Input Parameters:
PhotoRatioMsg valueA parameter object of type PhotoRatioMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetPhotoRatioAsync
async Task<ResultValue<PhotoRatioMsg?>> GetPhotoRatioAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the photo ratio of the camera.

Return:
async Task<ResultValue<PhotoRatioMsg?>>A Task<ResultValue<PhotoRatioMsg?>> object.
method SetISOAsync
async Task<SDKError> SetISOAsync(CameraISOMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets ISO of the camera.

Input Parameters:
CameraISOMsg valueA parameter object of type CameraISOMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetISOAsync
async Task<ResultValue<CameraISOMsg?>> GetISOAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the ISO of the camera.

Return:
async Task<ResultValue<CameraISOMsg?>>A Task<ResultValue<CameraISOMsg?>> object.
method StartRecordAsync
async Task<SDKError> StartRecordAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Starts to record video. It is only valid when the camera work mode is RECORD_VIDEO. The started video should be stopped by calling StopRecordAsync.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method StopRecordAsync
async Task<SDKError> StopRecordAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Stops recording video. It is only valid when the camera is recording a video.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraWorkModeAsync
async Task<SDKError> SetCameraWorkModeAsync(CameraWorkModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's work mode to taking pictures, video, playback or download. Please note that you cannot change the mode when a certain task is executing, such as taking photo(s), recording video, or downloading and saving files. Also supported by thermal imaging camera.

Input Parameters:
CameraWorkModeMsg valueA parameter object of type CameraWorkModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraWorkModeAsync
async Task<ResultValue<CameraWorkModeMsg?>> GetCameraWorkModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the camera's work mode.

Return:
async Task<ResultValue<CameraWorkModeMsg?>>A Task<ResultValue<CameraWorkModeMsg?>> object.
method GetCameraSDCardInsertedAsync
async Task<ResultValue<BoolMsg?>> GetCameraSDCardInsertedAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check if SD card is inserted to the camera.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<BoolMsg?>> object.
method GetCameraSDCardStateAsync
async Task<ResultValue<CameraSDCardStateMsg?>> GetCameraSDCardStateAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the camera's SD card state.

Return:
async Task<ResultValue<CameraSDCardStateMsg?>>A Task<ResultValue<CameraSDCardStateMsg?>> object.
method GetCameraStoringFileAsync
async Task<ResultValue<BoolMsg?>> GetCameraStoringFileAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check if the camera is storing a file.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<BoolMsg?>> object.
method GetSDCardTotalSpaceAsync
async Task<ResultValue<IntMsg?>> GetSDCardTotalSpaceAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to receive the total sapce in MB of the SD card.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method GetSDCardRemainSpaceAsync
async Task<ResultValue<IntMsg?>> GetSDCardRemainSpaceAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to receive the SD card's remaining space in MB.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method GetSDCardAvailablePhotoCountAsync
async Task<ResultValue<IntMsg?>> GetSDCardAvailablePhotoCountAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the number of pictures that can be taken with the remaining space available on the storage.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method GetSDCardAvailableVideoDurationAsync
async Task<ResultValue<IntMsg?>> GetSDCardAvailableVideoDurationAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the number of seconds available for recording with the remaining space available on the storage.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method GetRecordingTimeAsync
async Task<ResultValue<IntMsg?>> GetRecordingTimeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the duration, in seconds, of the video currently being recorded by the camera.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method SetExposureModeAsync
async Task<SDKError> SetExposureModeAsync(CameraExposureModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's exposure mode. Check CameraExposureMode to view all possible camera exposure modes. Please note that in different exposure mode, it will have different values for the same setting.

Input Parameters:
CameraExposureModeMsg valueA parameter object of type CameraExposureModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetExposureModeAsync
async Task<ResultValue<CameraExposureModeMsg?>> GetExposureModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Getter to check the exposure mode of the camera.

Return:
async Task<ResultValue<CameraExposureModeMsg?>>A Task<ResultValue<CameraExposureModeMsg?>> object.
method SetShutterSpeedAsync
async Task<SDKError> SetShutterSpeedAsync(CameraShutterSpeedMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera shutter speed. To see all available shutterSpeed value settings, see CameraShutterSpeed. The shutter speed should not be set slower than the video frame rate when the camera's mode is RECORD_VIDEO. For example, if the video frame rate is 30fps, the shutterSpeed must be <= 1/30.
Precondition: The shutter speed can be set only when the camera exposure mode is Shutter mode or Manual mode.

Input Parameters:
CameraShutterSpeedMsg valueA parameter object of type CameraShutterSpeedMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetShutterSpeedAsync
async Task<ResultValue<CameraShutterSpeedMsg?>> GetShutterSpeedAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's shutter speed.

Return:
async Task<ResultValue<CameraShutterSpeedMsg?>>A Task<ResultValue<CameraShutterSpeedMsg?>> object.
method GetVideoResolutionFrameRateAsync
async Task<ResultValue<VideoResolutionFrameRate?>> GetVideoResolutionFrameRateAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's video resolution and frame rate values.

Return:
async Task<ResultValue<VideoResolutionFrameRate?>>A Task<ResultValue<VideoResolutionFrameRate?>> object.
method SetVideoResolutionFrameRateAsync
async Task<SDKError> SetVideoResolutionFrameRateAsync(VideoResolutionFrameRate value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's video resolution and frame rate.

Input Parameters:
VideoResolutionFrameRate valueA parameter object of type VideoResolutionFrameRate.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetAntiFlickerAsync
async Task<SDKError> SetAntiFlickerAsync(CameraAntiFlickerMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's anti-flicker frequency for video recording.
Precondition: The exposure mode must be Program.

Input Parameters:
CameraAntiFlickerMsg valueA parameter object of type CameraAntiFlickerMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetAntiFlickerAsync
async Task<ResultValue<CameraAntiFlickerMsg?>> GetAntiFlickerAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's anti-flicker.

Return:
async Task<ResultValue<CameraAntiFlickerMsg?>>A Task<ResultValue<CameraAntiFlickerMsg?>> object.
method SetCameraColorAsync
async Task<SDKError> SetCameraColorAsync(CameraColorMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's color.

Input Parameters:
CameraColorMsg valueA parameter object of type CameraColorMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraColorAsync
async Task<ResultValue<CameraColorMsg?>> GetCameraColorAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's color.

Return:
async Task<ResultValue<CameraColorMsg?>>A Task<ResultValue<CameraColorMsg?>> object.
method SetExposureCompensationAsync
async Task<SDKError> SetExposureCompensationAsync(CameraExposureCompensationMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's exposure compensation. See CameraExposureCompensation to view all possible exposure compensations to which the camera can be set. In order to use this function, set the camera exposure mode to shutter, program or aperture.

Input Parameters:
CameraExposureCompensationMsg valueA parameter object of type CameraExposureCompensationMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetExposureCompensationAsync
async Task<ResultValue<CameraExposureCompensationMsg?>> GetExposureCompensationAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's exposure compensation.

Return:
async Task<ResultValue<CameraExposureCompensationMsg?>>A Task<ResultValue<CameraExposureCompensationMsg?>> object.
method SetAELockEnabledAsync
async Task<SDKError> SetAELockEnabledAsync(BoolMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Locks or unlocks the camera's AE (auto exposure).
Post condition: If the AE lock is enabled, the spot metering area cannot be set.

Input Parameters:
BoolMsg valueA parameter object of type BoolMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetAELockEnabledAsync
async Task<ResultValue<BoolMsg?>> GetAELockEnabledAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Determines if the camera's AE (auto exposure) is locked.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<BoolMsg?>> object.
method SetCameraFocusModeAsync
async Task<SDKError> SetCameraFocusModeAsync(CameraFocusModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the lens focus mode.

Input Parameters:
CameraFocusModeMsg valueA parameter object of type CameraFocusModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraFocusModeAsync
async Task<ResultValue<CameraFocusModeMsg?>> GetCameraFocusModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the lens focus mode.

Return:
async Task<ResultValue<CameraFocusModeMsg?>>A Task<ResultValue<CameraFocusModeMsg?>> object.
method GetCameraFocusTargetAsync
async Task<ResultValue<DoublePoint2D?>> GetCameraFocusTargetAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's focus target point for auto-focus.

Return:
async Task<ResultValue<DoublePoint2D?>>A Task<ResultValue<DoublePoint2D?>> object.
method SetCameraFocusTargetAsync
async Task<SDKError> SetCameraFocusTargetAsync(DoublePoint2D value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the lens focus target point. When the focus mode is auto, the target point is the focal point. When the focus mode is manual, the target point is the zoom out area if the focus assistant is supported and enabled for the manual mode.

Input Parameters:
DoublePoint2D valueA parameter object of type DoublePoint2D.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraFocusRingValueAsync
async Task<ResultValue<IntMsg?>> GetCameraFocusRingValueAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's focus ring value.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method SetCameraFocusRingValueAsync
async Task<SDKError> SetCameraFocusRingValueAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Set the focal distance by simulating the focus ring adjustment. Value can have a range of [0, GetCameraFocusRingMaxValueAsync], which represents infinity and the closest possible focal distance. For some lenses, the minimum focus ring value is larger than 0. For example the minimum of DJI MFT 15mm f/1.7 ASPH is 270. To retrieve the minimum value, perform the following steps:
(1) Call SetCameraFocusModeAsync with AF.
(2) Call SetCameraFocusTargetAsync with the furthest target (>30m).
(3) Call GetCameraFocusRingValueAsync to get the current focus ring value. This is the minimum value. The maximum value can be retrieved using GetCameraFocusRingMaxValueAsync.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraFocusRingMaxValueAsync
async Task<ResultValue<IntMsg?>> GetCameraFocusRingMaxValueAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the focusing ring value's max value of the camera.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method GetCameraActualFocusAreaAsync
async Task<ResultValue<CameraActualFocusArea?>> GetCameraActualFocusAreaAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the actual area that the camera focused on. The focus target input by the user is a point. The camera will use an area around the target as reference for focusing.

Return:
async Task<ResultValue<CameraActualFocusArea?>>A Task<ResultValue<CameraActualFocusArea?>> object.
method GetCameraFocusPointCountAsync
async Task<ResultValue<IntVector2D?>> GetCameraFocusPointCountAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the focus point counts in 2 dimensions. The focus points of a camera is finite and discrete.

Return:
async Task<ResultValue<IntVector2D?>>A Task<ResultValue<IntVector2D?>> object.
method GetExposureMeteringPointCountAsync
async Task<ResultValue<IntVector2D?>> GetExposureMeteringPointCountAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the exposure spot metering point counts in 2 dimensions. The metering point counts of a camera is finite and discrete.

Return:
async Task<ResultValue<IntVector2D?>>A Task<ResultValue<IntVector2D?>> object.
method SetCameraMeteringModeAsync
async Task<SDKError> SetCameraMeteringModeAsync(CameraMeteringModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's exposure metering.

Input Parameters:
CameraMeteringModeMsg valueA parameter object of type CameraMeteringModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraMeteringModeAsync
async Task<ResultValue<CameraMeteringModeMsg?>> GetCameraMeteringModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's exposure metering.

Return:
async Task<ResultValue<CameraMeteringModeMsg?>>A Task<ResultValue<CameraMeteringModeMsg?>> object.
method GetSpotMeteringTargetPointAsync
async Task<ResultValue<IntPoint2D?>> GetSpotMeteringTargetPointAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the spot metering area row index and column index. In order to make the method work, The camera exposure mode should be PROGRAM, SHUTTER_PRIORITY or APERTURE_PRIORITY, the exposure metering mode must be SPOT, and GetAELockEnabledAsync must be false.

Return:
async Task<ResultValue<IntPoint2D?>>A Task<ResultValue<IntPoint2D?>> object.
method SetSpotMeteringTargetPointAsync
async Task<SDKError> SetSpotMeteringTargetPointAsync(IntPoint2D value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the spot metering area index. The valid spots are returned from GetExposureMeteringPointCountAsync. The row index increases top to bottom across the image. The column increases left to right. In order to make the method work, The camera exposure mode should be PROGRAM, SHUTTER_PRIORITY or APERTURE_PRIORITY, the exposure metering mode must be SPOT, and GetAELockEnabledAsync must be false.

Input Parameters:
IntPoint2D valueA parameter object of type IntPoint2D.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetPhotoStorageFormatAsync
async Task<ResultValue<PhotoStorageFormatMsg?>> GetPhotoStorageFormatAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's photo file format.

Return:
async Task<ResultValue<PhotoStorageFormatMsg?>>A Task<ResultValue<PhotoStorageFormatMsg?>> object.
method SetPhotoStorageFormatAsync
async Task<SDKError> SetPhotoStorageFormatAsync(PhotoStorageFormatMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's photo file format.

Input Parameters:
PhotoStorageFormatMsg valueA parameter object of type PhotoStorageFormatMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraFocusStateAsync
async Task<ResultValue<CameraFocusStateMsg?>> GetCameraFocusStateAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the focus state of the camera. Uses it to check if the auto-focusing action is successful or not.

Return:
async Task<ResultValue<CameraFocusStateMsg?>>A Task<ResultValue<CameraFocusStateMsg?>> object.
method GetWhiteBalanceAsync
async Task<ResultValue<CameraWhiteBalance?>> GetWhiteBalanceAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's white balance and color temperature.

Return:
async Task<ResultValue<CameraWhiteBalance?>>A Task<ResultValue<CameraWhiteBalance?>> object.
method SetWhiteBalanceAsync
async Task<SDKError> SetWhiteBalanceAsync(CameraWhiteBalance value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's white balance. When the white balance is a preset value (values except MANUAL), the int colorTemperature argument does not take effect. When the white balance is MANUAL, the int colorTemperature value is used instead.

Input Parameters:
CameraWhiteBalance valueA parameter object of type CameraWhiteBalance.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetPhotoIntervalCountdownAsync
async Task<ResultValue<IntMsg?>> GetPhotoIntervalCountdownAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the countdown of the ongoing interval shoot. When the countdown becomes 0, the camera will take one photo and then continue on the next countdown. It is only valid when the camera is shooting interval photos.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<IntMsg?>> object.
method GetPhotoIntervalShootSettingsAsync
async Task<ResultValue<PhotoIntervalShootSettings?>> GetPhotoIntervalShootSettingsAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's interval shoot parameters.

Return:
async Task<ResultValue<PhotoIntervalShootSettings?>>A Task<ResultValue<PhotoIntervalShootSettings?>> object.
method SetPhotoIntervalShootSettingsAsync
async Task<SDKError> SetPhotoIntervalShootSettingsAsync(PhotoIntervalShootSettings value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the interval shoot parameters. The camera will capture a photo, wait a specified interval of time, take another photo, and continue in this manner until it has taken the required number of photos.

Input Parameters:
PhotoIntervalShootSettings valueA parameter object of type PhotoIntervalShootSettings.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetShootPhotoModeAsync
async Task<SDKError> SetShootPhotoModeAsync(CameraShootPhotoModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the photo shooting mode for the camera.

Input Parameters:
CameraShootPhotoModeMsg valueA parameter object of type CameraShootPhotoModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetShootPhotoModeAsync
async Task<ResultValue<CameraShootPhotoModeMsg?>> GetShootPhotoModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the photo shooting mode for the camera.

Return:
async Task<ResultValue<CameraShootPhotoModeMsg?>>A Task<ResultValue<CameraShootPhotoModeMsg?>> object.
method StartShootPhotoAsync
async Task<SDKError> StartShootPhotoAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Camera starts to take photo with one of the camera capture modes (shoot photo modes).Also,
Precondition:
1. Camera must be in Shoot Photo mode. Some camera's may support shooting photos in Record Video mode.
2. The SD card or the internal storage state should be checked before this method is used to ensure sufficient space exists.

Post condition:
If the capture mode is either Burst or Interval, calling StopShootPhotoAsync will be required for the camera to stop taking photos.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method StopShootPhotoAsync
async Task<SDKError> StopShootPhotoAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Camera stops taking photos.
Precondition:
1. StartShootPhotoAsync has been invoked and the shoot mode is either Interval or Time-lapse.
2. If the shoot mode is set to NORMAL, the camera will automatically stop taking the photo once the individual photo is taken.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method FormatStorageAsync
async Task<SDKError> FormatStorageAsync(CameraStorageLocationMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Formats the storage by deleting all the data on it.

Input Parameters:
CameraStorageLocationMsg valueA parameter object of type CameraStorageLocationMsg, which determines the storage to be formatted.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetConnectionAsync
async Task<ResultValue<BoolMsg?>> GetConnectionAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Determines if a component is connected or not.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<BoolMsg?>> object.
method GetSerialNumberAsync
async Task<ResultValue<StringMsg?>> GetSerialNumberAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the serial number of the component.

Return:
async Task<ResultValue<StringMsg?>>A Task<ResultValue<StringMsg?>> object.
method CameraStartContinuousOpticalZoomAsync
async Task<SDKError> CameraStartContinuousOpticalZoomAsync(CameraContinuousOpticalZoomParam value)
Declaration:DJI.WindowsSDK.Components
Description:

Start changing the focal length of the lens in specified direction with specified speed. Focal length change (zooming) will halt when maximum or minimum focal lengths are reached, or stopContinuousOpticalZoomWithCompletion is called. It is only supported by X5, X5R and X5S camera on Osmo with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera and Z30 camera.

Input Parameters:
CameraContinuousOpticalZoomParam valueA parameter object of type CameraContinuousOpticalZoomParam.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method CameraStopContinuousOpticalZoomAsync
async Task<SDKError> CameraStopContinuousOpticalZoomAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Called to stop focal length changing, when it currently is from calling CameraStartContinuousOpticalZoomAsync. It is only supported by X5, X5R and X5S camera on Osmo with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera and Z30 camera.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetAutoTurnOffLEDModeAsync
async Task<ResultValue<CameraAutoTurnOffLEDModeMsg?>> GetAutoTurnOffLEDModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Determines whether the automatic control of the LEDs is Enabled. Supported only by Mavic Pro, Mavic Air, and Mavic 2 series.

Return:
async Task<ResultValue<CameraAutoTurnOffLEDModeMsg?>>A Task<ResultValue<CameraAutoTurnOffLEDModeMsg?>> object.
method GetCameraDisplayModeAsync
async Task<ResultValue<CameraDisplayModeMsg?>> GetCameraDisplayModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get the 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.

Return:
async Task<ResultValue<CameraDisplayModeMsg?>>A Task<ResultValue<Value_CameraDisplayModeMsg?>> object.
method GetCameraFileIndexModeAsync
async Task<ResultValue<CameraFileIndexModeMsg?>> GetCameraFileIndexModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the camera's file index mode.

Return:
async Task<ResultValue<CameraFileIndexModeMsg?>>A Task<ResultValue<Value_CameraFileIndexModeMsg?>> object.
method GetCameraOpticalZoomFocalLengthAsync
async Task<ResultValue<IntMsg?>> GetCameraOpticalZoomFocalLengthAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets zoom lens focal length in units of 0.1mm. It is only supported by X5, X5R and X5S camera with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera and Z30 camera.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<Value_IntMsg?>> object.
method GetCameraOpticalZoomSpecAsync
async Task<ResultValue<CameraOpticalZoomSpec?>> GetCameraOpticalZoomSpecAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get the zoom lens profile. Includes focal length range and minimum focal length step. Supported by X5, X5R and X5S with zoom lens, Z3 camera and Z30 camera.

Return:
async Task<ResultValue<CameraOpticalZoomSpec?>>A Task<ResultValue<Value_CameraOpticalZoomSpec?>> object.
method GetCameraOpticalZoomSupportedAsync
async Task<ResultValue<BoolMsg?>> GetCameraOpticalZoomSupportedAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get is optical zooming supported of the aircraft.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<Value_BoolMsg?>> object.
method GetCameraStorageLocationAsync
async Task<ResultValue<CameraStorageLocationMsg?>> GetCameraStorageLocationAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get the current storage location.

Return:
async Task<ResultValue<CameraStorageLocationMsg?>>A Task<ResultValue<Value_CameraStorageLocationMsg?>> object.
method GetCameraTemperatureUnitAsync
async Task<ResultValue<CameraTemperatureUnitMsg?>> GetCameraTemperatureUnitAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get the current temperature unit.

Return:
async Task<ResultValue<CameraTemperatureUnitMsg?>>A Task<ResultValue<Value_CameraTemperatureUnitMsg?>> object.
method GetCameraThermalDualFeedHorizontalAlignmentOffsetAsync
async Task<ResultValue<IntMsg?>> GetCameraThermalDualFeedHorizontalAlignmentOffsetAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the horizontal alignment offset between the video feeds from both the visual camera and the thermal camera. The alignment is applied to the MSX display mode. Different camera results in different value ranges. For XT2 camera, the valid range is [-100, 100]. For Mavic 2 Enterprise Dual, the valid range is [-40, 40]. Positive value will move the thermal window to the right. Only supported by XT2 camera and Mavic 2 Enterprise Dual.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<Value_IntMsg?>> object.
method GetCameraThermalDualFeedVerticalAlignmentOffsetAsync
async Task<ResultValue<IntMsg?>> GetCameraThermalDualFeedVerticalAlignmentOffsetAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the vertical alignment offset between the video feeds from both the visual camera and the thermal camera. The alignment is applied to the MSX display mode. Different camera results in different value ranges. For XT2 camera, the valid range is [-8, 8]. For Mavic 2 Enterprise Dual, the valid range is [-40, 40]. Positive value will move the thermal window up. Only supported by XT2 camera and Mavic 2 Enterprise Dual camera.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<Value_IntMsg?>> object.
method GetCameraThermalFFCModeAsync
async Task<ResultValue<CameraThermalFFCModeMsg?>> GetCameraThermalFFCModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get the flat-field correction mods.

Return:
async Task<ResultValue<CameraThermalFFCModeMsg?>>A Task<ResultValue<Value_CameraThermalFFCModeMsg?>> object.
method GetCameraThermalGainModeAsync
async Task<ResultValue<CameraThermalGainModeMsg?>> GetCameraThermalGainModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the gain mode. Supported only by thermal imaging cameras.

Return:
async Task<ResultValue<CameraThermalGainModeMsg?>>A Task<ResultValue<Value_CameraThermalGainModeMsg?>> object.
method GetCameraThermalIsothermEnabledAsync
async Task<ResultValue<BoolMsg?>> GetCameraThermalIsothermEnabledAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Determines whether Isotherms are enabled. True if Isotherms are enabled. Supported only by thermal imaging cameras.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<Value_BoolMsg?>> object.
method GetCameraThermalIsothermLowerValueAsync
async Task<ResultValue<IntMsg?>> GetCameraThermalIsothermLowerValueAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the lower threshold value for Isotherm. Supported only by thermal imaging cameras.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<Value_IntMsg?>> object.
method GetCameraThermalIsothermMiddleValueAsync
async Task<ResultValue<IntMsg?>> GetCameraThermalIsothermMiddleValueAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the middle threshold value for Isotherm. Supported only by thermal imaging cameras.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<Value_IntMsg?>> object.
method GetCameraThermalIsothermUnitAsync
async Task<ResultValue<CameraThermalIsothermUnitMsg?>> GetCameraThermalIsothermUnitAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Sets the unit of the Isotherm ranges to either Celsius or percent. Different units results in different value ranges for Isotherms. Supported only by thermal imaging cameras except Mavic 2 Enterprise Dual thermal camera. For Mavic 2 Enterprise Dual, the Isotherm unit is always CELSIUS.

Return:
async Task<ResultValue<CameraThermalIsothermUnitMsg?>>A Task<ResultValue<Value_CameraThermalIsothermUnitMsg?>> object.
method GetCameraThermalIsothermUpperValueAsync
async Task<ResultValue<IntMsg?>> GetCameraThermalIsothermUpperValueAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Sets the upper threshold value for Isotherm. All temperature values above this will use colors 224-255 from the palette. Supported only by thermal imaging cameras.

Return:
async Task<ResultValue<IntMsg?>>A Task<ResultValue<Value_IntMsg?>> object.
method GetCameraThermalMeasurementModeAsync
async Task<ResultValue<CameraThermalMeasurementModeMsg?>> GetCameraThermalMeasurementModeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the mode for thermal measurement. Supported only by thermal imaging cameras.

Return:
async Task<ResultValue<CameraThermalMeasurementModeMsg?>>A Task<ResultValue<Value_CameraThermalMeasurementModeMsg?>> object.
method GetCameraThermalPaletteAsync
async Task<ResultValue<CameraThermalPaletteMsg?>> GetCameraThermalPaletteAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the Palette.

Return:
async Task<ResultValue<CameraThermalPaletteMsg?>>A Task<ResultValue<Value_CameraThermalPaletteMsg?>> object.
method GetCameraThermalPaletteRangeAsync
async Task<ResultValue<CameraThermalPaletteRangeMsg?>> GetCameraThermalPaletteRangeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets range of the palette.

Return:
async Task<ResultValue<CameraThermalPaletteRangeMsg?>>A Task<ResultValue<Value_CameraThermalPaletteRangeMsg?>> object.
method GetCameraThermalROIAsync
async Task<ResultValue<CameraThermalROIMsg?>> GetCameraThermalROIAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the Region of Interest.

Return:
async Task<ResultValue<CameraThermalROIMsg?>>A Task<ResultValue<Value_CameraThermalROIMsg?>> object.
method GetCameraVideoCaptionEnabledAsync
async Task<ResultValue<BoolMsg?>> GetCameraVideoCaptionEnabledAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets whether the video caption is enabled.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<Value_BoolMsg?>> object.
method GetCameraWatermarkSettingsAsync
async Task<ResultValue<CameraWatermarkSettings?>> GetCameraWatermarkSettingsAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the watermark settings. If it is enabled, timestamp and location stamp will be added to the newly generated photos or videos. It is only supported by Mavic 2 Enterprise series. For Mavic 2 Enterprise Dual, the watermark is only applied to photos and videos generated by the visual camera.

Return:
async Task<ResultValue<CameraWatermarkSettings?>>A Task<ResultValue<Value_CameraWatermarkSettings?>> object.
method GetHistogramDataAsync
async Task<ResultValue<CameraHistogram?>> GetHistogramDataAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Get histogram data.

Return:
async Task<ResultValue<CameraHistogram?>>A Task<ResultValue<Value_CameraHistogram?>> object.
method GetHistogramEnabledAsync
async Task<ResultValue<BoolMsg?>> GetHistogramEnabledAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets whether the histogram is enabled.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<Value_BoolMsg?>> object.
method GetLockGimbalDuringShootPhotoEnabledAsync
async Task<ResultValue<BoolMsg?>> GetLockGimbalDuringShootPhotoEnabledAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets whether the gimbal would lock during shooting photo.

Return:
async Task<ResultValue<BoolMsg?>>A Task<ResultValue<Value_BoolMsg?>> object.
method GetPhotoBurstCountAsync
async Task<ResultValue<PhotoBurstCountMsg?>> GetPhotoBurstCountAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the count of photo burst.

Return:
async Task<ResultValue<PhotoBurstCountMsg?>>A Task<ResultValue<Value_PhotoBurstCountMsg?>> object.
method GetVideoStorageFormatAsync
async Task<ResultValue<VideoStorageFormatMsg?>> GetVideoStorageFormatAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets the format of video storage.

Return:
async Task<ResultValue<VideoStorageFormatMsg?>>A Task<ResultValue<Value_VideoStorageFormatMsg?>> object.
method ResetCameraSettingAsync
async Task<SDKError> ResetCameraSettingAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Reset camera setting.

Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetAutoTurnOffLEDModeAsync
async Task<SDKError> SetAutoTurnOffLEDModeAsync(CameraAutoTurnOffLEDModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Enables the automatic control of the LEDs. The camera can turn off the LEDs automatically when it shoots photos or records videos. The LEDs will be turned on after the shooting or recording is finished. Supported only by Mavic Pro, Mavic Air, and Mavic 2 series.

Input Parameters:
CameraAutoTurnOffLEDModeMsg valueA parameter object of type CameraAutoTurnOffLEDModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraDisplayModeAsync
async Task<SDKError> SetCameraDisplayModeAsync(CameraDisplayModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Set the 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.

Input Parameters:
CameraDisplayModeMsg valueA parameter object of type CameraDisplayModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraFileIndexModeAsync
async Task<SDKError> SetCameraFileIndexModeAsync(CameraFileIndexModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera's file index mode for the SD card.

Input Parameters:
CameraFileIndexModeMsg valueA parameter object of type CameraFileIndexModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraOpticalZoomFocalLengthAsync
async Task<SDKError> SetCameraOpticalZoomFocalLengthAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets focal length of the zoom lens. It is only supported by X5, X5R and X5S camera with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, X5S camera with Panasonic Lumix 14-42mm/3.5-5.6 HD or Olympus M.Zuiko 9-18mm/4.0-5.6, Z3 camera and Z30 camera.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraStorageLocationAsync
async Task<SDKError> SetCameraStorageLocationAsync(CameraStorageLocationMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Set the storage location of camera.

Input Parameters:
CameraStorageLocationMsg valueA parameter object of type CameraStorageLocationMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraTemperatureUnitAsync
async Task<SDKError> SetCameraTemperatureUnitAsync(CameraTemperatureUnitMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the camera temperature unit.

Input Parameters:
CameraTemperatureUnitMsg valueA parameter object of type CameraTemperatureUnitMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalDualFeedHorizontalAlignmentOffsetAsync
async Task<SDKError> SetCameraThermalDualFeedHorizontalAlignmentOffsetAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the horizontal alignment offset between the video feeds from both the visual camera and the thermal camera. The alignment is applied to the MSX display mode. Different camera results in different value ranges. For XT2 camera, the valid range is [-100, 100]. For Mavic 2 Enterprise Dual, the valid range is [-40, 40]. Positive value will move the thermal window to the right. Use this setting to fine-tune the performance of MSX display mode and the align PIP mode. Only supported by XT2 camera and Mavic 2 Enterprise Dual.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalDualFeedVerticalAlignmentOffsetAsync
async Task<SDKError> SetCameraThermalDualFeedVerticalAlignmentOffsetAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the vertical alignment offset between the video feeds from both the visual camera and the thermal camera. The alignment is applied to the MSX display mode. Different camera results in different value ranges. For XT2 camera, the valid range is [-8, 8]. For Mavic 2 Enterprise Dual, the valid range is [-40, 40]. Positive value will move the thermal window up. Use this setting to fine-tune the performance of MSX display mode and the align PIP mode. Only supported by XT2 camera and Mavic 2 Enterprise Dual.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalFFCModeAsync
async Task<SDKError> SetCameraThermalFFCModeAsync(CameraThermalFFCModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Get the currently set flat-field correction (FFC) mode. Supported only by thermal imaging cameras with installed firmware version of 1.15.1.60 or higher. For Mavic 2 Enterprise Dual thermal camera, the CameraThermalFFCMode is always AUTO.

Input Parameters:
CameraThermalFFCModeMsg valueA parameter object of type CameraThermalFFCModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalGainModeAsync
async Task<SDKError> SetCameraThermalGainModeAsync(CameraThermalGainModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the gain mode. Supported only by thermal imaging cameras.

Input Parameters:
CameraThermalGainModeMsg valueA parameter object of type CameraThermalGainModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalIsothermEnabledAsync
async Task<SDKError> SetCameraThermalIsothermEnabledAsync(BoolMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Enable or disable Isotherms. Isotherms can be used to highlight specific temperature ranges: When disabled, all 256 values (8-bits) are dedicated to the temperature histogram of the scene. When enabled, only 128 values (0-127) are mapped linearly to temperature. Then three bands 128-175, 176-223 and 224-255 can be mapped to the user defined temperatures to highlight them to the user. Using some of the false color palettes (like RainbowIso) results in a thermal image that is grey scale except for three specific bands highlighted by either reds, blues or greens. Supported only by thermal imaging cameras.

Input Parameters:
BoolMsg valueA parameter object of type BoolMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalIsothermLowerValueAsync
async Task<SDKError> SetCameraThermalIsothermLowerValueAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the lower threshold value for Isotherm. Temperature values between the lower and middle Isotherm threshold will be displayed with colors 128-175 from the palette. Supported only by thermal imaging cameras.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalIsothermMiddleValueAsync
async Task<SDKError> SetCameraThermalIsothermMiddleValueAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the middle threshold value for Isotherm. Temperature values between the middle and upper Isotherm threshold will be displayed with colors 176-223 from the palette. Supported only by thermal imaging cameras, except Mavic 2 Enterprise Dual thermal camera.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalIsothermUnitAsync
async Task<SDKError> SetCameraThermalIsothermUnitAsync(CameraThermalIsothermUnitMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the unit of the Isotherm ranges to either Celsius or percent. Different units results in different value ranges for Isotherms. Supported only by thermal imaging cameras except Mavic 2 Enterprise Dual thermal camera. For Mavic 2 Enterprise Dual, the Isotherm unit is always CELSIUS.

Input Parameters:
CameraThermalIsothermUnitMsg valueA parameter object of type CameraThermalIsothermUnitMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalIsothermUpperValueAsync
async Task<SDKError> SetCameraThermalIsothermUpperValueAsync(IntMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the upper threshold value for Isotherm. Temperature values between the lower and middle Isotherm threshold will be displayed with colors 128-175 from the palette. Supported only by thermal imaging cameras.

Input Parameters:
IntMsg valueA parameter object of type IntMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalMeasurementModeAsync
async Task<SDKError> SetCameraThermalMeasurementModeAsync(CameraThermalMeasurementModeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the mode for thermal measurement. Supported only by thermal imaging cameras.

Input Parameters:
CameraThermalMeasurementModeMsg valueA parameter object of type CameraThermalMeasurementModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalPaletteAsync
async Task<SDKError> SetCameraThermalPaletteAsync(CameraThermalPaletteMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the Palette. Each palette is a unique look-up table that maps 8-bit temperature values to different colors. Different palettes can be used to help the user better visualize temperature contrast or specific temperature bands. The valid range can be fetched from GetCameraThermalPaletteRangeAsync. Supported only by thermal imaging cameras.

Input Parameters:
CameraThermalPaletteMsg valueA parameter object of type CameraThermalPaletteMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraThermalROIAsync
async Task<SDKError> SetCameraThermalROIAsync(CameraThermalROIMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the Region of Interest (ROI). Used to manage color range distribution across the screen to maximize contrast for regions of highest interest. Supported only by thermal imaging cameras.

Input Parameters:
CameraThermalROIMsg valueA parameter object of type CameraThermalROIMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraVideoCaptionEnabledAsync
async Task<SDKError> SetCameraVideoCaptionEnabledAsync(BoolMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Enables recording position, time and camera information into a video caption file (.srt) saved on the SD card. The information is updated at 1Hz. Currently the .srt file can only be downloaded directly from the SD card.

Input Parameters:
BoolMsg valueA parameter object of type BoolMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetCameraWatermarkSettingsAsync
async Task<SDKError> SetCameraWatermarkSettingsAsync(CameraWatermarkSettings value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the watermark configuration. Enables this to add timestamp and location stamp to the newly generated photos or videos. It is only supported by Mavic 2 Enterprise series. For Mavic 2 Enterprise Dual, the watermark is only applied to photos and videos generated by the visual camera.

Input Parameters:
CameraWatermarkSettings valueA parameter object of type CameraWatermarkSettings.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetHistogramEnabledAsync
async Task<SDKError> SetHistogramEnabledAsync(BoolMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Enables the histogram.

Input Parameters:
BoolMsg valueA parameter object of type BoolMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetLockGimbalDuringShootPhotoEnabledAsync
async Task<SDKError> SetLockGimbalDuringShootPhotoEnabledAsync(BoolMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets whether the gimbal would lock during shooting photo.

Input Parameters:
BoolMsg valueA parameter object of type BoolMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetPhotoBurstCountAsync
async Task<SDKError> SetPhotoBurstCountAsync(PhotoBurstCountMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Set the count of photo burst.

Input Parameters:
PhotoBurstCountMsg valueA parameter object of type PhotoBurstCountMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method SetVideoStorageFormatAsync
async Task<SDKError> SetVideoStorageFormatAsync(VideoStorageFormatMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Set the format of video storage.

Input Parameters:
VideoStorageFormatMsg valueA parameter object of type CameraDisplayModeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraOrientationAsync
async Task<ResultValue<CameraOrientationMsg?>> GetCameraOrientationAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets type physical orientation of camera.

Return:
async Task<ResultValue<CameraOrientationMsg?>>A Task<ResultValue<Value_CameraOrientationMsg?>> object.
method SetCameraOrientationAsync
async Task<SDKError> SetCameraOrientationAsync(CameraOrientationMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the orientation of camera.

Input Parameters:
CameraOrientationMsg valueA parameter object of type CameraOrientationMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
method GetCameraPanoTypeAsync
async Task<ResultValue<CameraPanoTypeMsg?>> GetCameraPanoTypeAsync()
Declaration:DJI.WindowsSDK.Components
Description:

Gets type of panorama of camera.

Return:
async Task<ResultValue<CameraPanoTypeMsg?>>A Task<ResultValue<Value_CameraPanoTypeMsg?>> object.
method SetCameraPanoTypeAsync
async Task<SDKError> SetCameraPanoTypeAsync(CameraPanoTypeMsg value)
Declaration:DJI.WindowsSDK.Components
Description:

Sets the panorama type of camera.

Input Parameters:
CameraPanoTypeMsg valueA parameter object of type CameraPanoTypeMsg.
Return:
async Task<SDKError>A Task<SDKErrorCode> object.
event IsTakingPhotoChanged
event BoolMsgChangedEventHandler IsTakingPhotoChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to check if the camera is shooting photos.

event CameraTypeChanged
event CameraTypeMsgChangedEventHandler CameraTypeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to camera type changes of aircraft.

event CameraColorRangeChanged
event CameraColorRangeMsgChangedEventHandler CameraColorRangeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to camera color changes of camera.

event IsRecordingChanged
event BoolMsgChangedEventHandler IsRecordingChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to if the camera is recording videos.

event VideoFileCompressionStandardChanged
event VideoFileCompressionStandardMsgChangedEventHandler VideoFileCompressionStandardChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to video file comression standard changes.

event PhotoRatioChanged
event PhotoRatioMsgChangedEventHandler PhotoRatioChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to photo ratio changes of the camera.

event NewlyGeneratedMediaFileChanged
event GeneratedMediaFileInfoChangedEventHandler NewlyGeneratedMediaFileChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive the information of the newly generated media file.

event ISOChanged
event CameraISOMsgChangedEventHandler ISOChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive the ISO value change of the camera.

event CameraWorkModeChanged
event CameraWorkModeMsgChangedEventHandler CameraWorkModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive the camera work mode change.

event CameraSDCardInsertedChanged
event BoolMsgChangedEventHandler CameraSDCardInsertedChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to check if SD card is inserted to the camera.

event CameraSDCardStateChanged
event CameraSDCardStateMsgChangedEventHandler CameraSDCardStateChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's SD card state.

event CameraStoringFileChanged
event BoolMsgChangedEventHandler CameraStoringFileChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to check if the camera is storing a file.

event SDCardTotalSpaceChanged
event IntMsgChangedEventHandler SDCardTotalSpaceChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of SD card total space in MB.

event SDCardRemainSpaceChanged
event IntMsgChangedEventHandler SDCardRemainSpaceChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to changes of the SD card's remaining space in MB.

event SDCardAvailablePhotoCountChanged
event IntMsgChangedEventHandler SDCardAvailablePhotoCountChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the number of pictures that can be taken with the remaining space available on the storage.

event SDCardAvailableVideoDurationChanged
event IntMsgChangedEventHandler SDCardAvailableVideoDurationChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive the number of seconds available for recording with the remaining space available on the storage.

event RecordingTimeChanged
event IntMsgChangedEventHandler RecordingTimeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive the duration, in seconds, of the video currently being recorded by the camera.

event ExposureModeChanged
event CameraExposureModeMsgChangedEventHandler ExposureModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's exposure mode.

event ShutterSpeedChanged
event CameraShutterSpeedMsgChangedEventHandler ShutterSpeedChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of shutter speeds.

event VideoResolutionFrameRateChanged
event VideoResolutionFrameRateChangedEventHandler VideoResolutionFrameRateChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's video resolution and frame rate.

event AntiFlickerChanged
event CameraAntiFlickerMsgChangedEventHandler AntiFlickerChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's anti-flicker.

event CameraColorChanged
event CameraColorMsgChangedEventHandler CameraColorChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's color.

event ExposureCompensationChanged
event CameraExposureCompensationMsgChangedEventHandler ExposureCompensationChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's exposure compensation.

event AELockEnabledChanged
event BoolMsgChangedEventHandler AELockEnabledChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's AE lock.

event CameraFocusModeChanged
event CameraFocusModeMsgChangedEventHandler CameraFocusModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's focus mode.

event CameraFocusTargetChanged
event DoublePoint2DChangedEventHandler CameraFocusTargetChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's focus target.

event CameraFocusRingValueChanged
event IntMsgChangedEventHandler CameraFocusRingValueChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's focus ring value.

event CameraFocusRingMaxValueChanged
event IntMsgChangedEventHandler CameraFocusRingMaxValueChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's focus ring max value.

event CameraActualFocusAreaChanged
event CameraActualFocusAreaChangedEventHandler CameraActualFocusAreaChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's actual focus area. The focus target input by the user is a point. The camera will use an area around the target as reference for focusing.

event CameraFocusPointCountChanged
event IntVector2DChangedEventHandler CameraFocusPointCountChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's focus point counts in 2 dimensions. The focus points of a camera is finite and discrete. The focus point counts of a camera is static. This event is only used to keep the subscriber post when a camera is connected.

event ExposureMeteringPointCountChanged
event IntVector2DChangedEventHandler ExposureMeteringPointCountChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's exposure spot metering point counts in 2 dimensions. The spot metering points of a camera is finite and discrete. The point counts of a camera is static. This event is only used to keep the subscriber post when a camera is connected.

event CameraMeteringModeChanged
event CameraMeteringModeMsgChangedEventHandler CameraMeteringModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's exposure metering mode.

event PhotoStorageFormatChanged
event PhotoStorageFormatMsgChangedEventHandler PhotoStorageFormatChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's photo file format.

event CameraFocusStateChanged
event CameraFocusStateMsgChangedEventHandler CameraFocusStateChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's focus state. Uses it to check if the auto-focusing action is successful or not.

event WhiteBalanceChanged
event CameraWhiteBalanceChangedEventHandler WhiteBalanceChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's white balance and temperature color.

event PhotoIntervalCountdownChanged
event IntMsgChangedEventHandler PhotoIntervalCountdownChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the countdown of the ongoing interval shoot. When the countdown becomes 0, the camera will take one photo and then continue on the next countdown. It is only valid when the camera is shooting interval photos.

event PhotoIntervalShootSettingsChanged
event PhotoIntervalShootSettingsChangedEventHandler PhotoIntervalShootSettingsChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the interval shoot parameters. The camera will capture a photo, wait a specified interval of time, take another photo, and continue in this manner until it has taken the required number of photos.

event ShootPhotoModeChanged
event CameraShootPhotoModeMsgChangedEventHandler ShootPhotoModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the camera's photo mode.

event ConnectionChanged
event BoolMsgChangedEventHandler ConnectionChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive a component's connection change.

event SerialNumberChanged
event StringMsgChangedEventHandler SerialNumberChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the serial number of the component.

event AutoTurnOffLEDModeChanged
event CameraAutoTurnOffLEDModeMsgChangedEventHandler AutoTurnOffLEDModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of automatically turn-off mode.

event CameraDisplayModeChanged
event CameraDisplayModeMsgChangedEventHandler CameraDisplayModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of camera display mode.

event CameraFileIndexModeChanged
event CameraFileIndexModeMsgChangedEventHandler CameraFileIndexModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of file index mode.

event CameraOpticalZoomFocalLengthChanged
event IntMsgChangedEventHandler CameraOpticalZoomFocalLengthChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of zoom lens focal length in units of 0.1mm. It is only supported by X5, X5R and X5S camera with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera and Z30 camera.

event CameraOpticalZoomSpecChanged
event CameraOpticalZoomSpecChangedEventHandler CameraOpticalZoomSpecChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the specification of the zoom lens. It is only supported by X5, X5R and X5S camera with lens Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3 camera and Z30 camera.

event CameraOpticalZoomSupportedChanged
event BoolMsgChangedEventHandler CameraOpticalZoomSupportedChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of is optical zoom supported by the aircraft.

event CameraTemperatureUnitChanged
event CameraTemperatureUnitMsgChangedEventHandler CameraTemperatureUnitChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of temperature unit. Only supported by XT2 and Mavic 2 Enterprise Dual.

event CameraThermalDualFeedHorizontalAlignmentOffsetChanged
event IntMsgChangedEventHandler CameraThermalDualFeedHorizontalAlignmentOffsetChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the horizontal alignment offset between the video feeds from both the visual camera and the thermal camera. The alignment is applied to the MSX display mode. Different camera results in different value ranges. For XT2 camera, the valid range is [-100, 100]. For Mavic 2 Enterprise Dual, the valid range is [-40, 40]. Positive value will move the thermal window to the right. Only supported by XT2 camera and Mavic 2 Enterprise Dual.

event CameraThermalDualFeedVerticalAlignmentOffsetChanged
event IntMsgChangedEventHandler CameraThermalDualFeedVerticalAlignmentOffsetChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the vertical alignment offset between the video feeds from both the visual camera and the thermal camera. The alignment is applied to the MSX display mode. Different camera results in different value ranges. For XT2 camera, the valid range is [-8, 8]. For Mavic 2 Enterprise Dual, the valid range is [-40, 40]. Positive value will move the thermal window up. Only supported by XT2 camera and Mavic 2 Enterprise Dual camera.

event CameraThermalFFCModeChanged
event CameraThermalFFCModeMsgChangedEventHandler CameraThermalFFCModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the currently set flat-field correction (FFC) mode. Supported only by thermal imaging cameras with installed firmware version of 1.15.1.60 or higher. For Mavic 2 Enterprise Dual thermal camera, the DJICamera_DJICameraThermalFFCMode is always AUTO.

event CameraThermalGainModeChanged
event CameraThermalGainModeMsgChangedEventHandler CameraThermalGainModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the gain mode. Supported only by thermal imaging cameras.

event CameraThermalIsothermEnabledChanged
event BoolMsgChangedEventHandler CameraThermalIsothermEnabledChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of whether Isotherms are enabled. True if Isotherms are enabled. Supported only by thermal imaging cameras.

event CameraThermalIsothermLowerValueChanged
event IntMsgChangedEventHandler CameraThermalIsothermLowerValueChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the lower threshold value for Isotherm. Supported only by thermal imaging cameras.

event CameraThermalIsothermMiddleValueChanged
event IntMsgChangedEventHandler CameraThermalIsothermMiddleValueChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the middle threshold value for Isotherm. Supported only by thermal imaging cameras.

event CameraThermalIsothermUnitChanged
event CameraThermalIsothermUnitMsgChangedEventHandler CameraThermalIsothermUnitChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the units for Isotherm ranges. Supported only by thermal imaging cameras, except Mavic 2 Enterprise Dual thermal camera. For Mavic 2 Enterprise Dual, the Isotherm unit is always

event CameraThermalIsothermUpperValueChanged
event IntMsgChangedEventHandler CameraThermalIsothermUpperValueChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the upper threshold value for Isotherm. Supported only by thermal imaging cameras.

event CameraThermalMeasurementModeChanged
event CameraThermalMeasurementModeMsgChangedEventHandler CameraThermalMeasurementModeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the mode for thermal measurement.

event CameraThermalPaletteChanged
event CameraThermalPaletteMsgChangedEventHandler CameraThermalPaletteChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the palette.

event CameraThermalPaletteRangeChanged
event CameraThermalPaletteRangeMsgChangedEventHandler CameraThermalPaletteRangeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the palette range.

event CameraThermalROIChanged
event CameraThermalROIMsgChangedEventHandler CameraThermalROIChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the thermal ROI.

event HistogramDataChanged
event CameraHistogramChangedEventHandler HistogramDataChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of histogram data.

event HistogramEnabledChanged
event BoolMsgChangedEventHandler HistogramEnabledChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of whether the histogram enabled.

event LockGimbalDuringShootPhotoEnabledChanged
event BoolMsgChangedEventHandler LockGimbalDuringShootPhotoEnabledChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of whether locking gimbal during shooting photo is enabled.

event PhotoBurstCountChanged
event PhotoBurstCountMsgChangedEventHandler PhotoBurstCountChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of count of photo burst.

event SpotMeteringTargetPointChanged
event IntPoint2DChangedEventHandler SpotMeteringTargetPointChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of the target point of spot metering.

event VideoStorageFormatChanged
event VideoStorageFormatMsgChangedEventHandler VideoStorageFormatChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to receive changes of video storage format.

event CameraOrientationChanged
event CameraOrientationMsgChangedEventHandler CameraOrientationChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to orientation of the camera.

event CameraPanoTypeChanged
event CameraPanoTypeMsgChangedEventHandler CameraPanoTypeChanged
Declaration:DJI.WindowsSDK.Components
Description:

Subscribe the event to the panorama type of camera.