voidsetVideoStandard(@NonNull SettingsDefinitions.VideoStandard videoStandard, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the lens' analog video standard. Setting the video standard to PAL or NTSC will limit the available resolutions and frame rates to those compatible with the chosen video standard.
voidsetPhotoFileFormat(@NonNull SettingsDefinitions.PhotoFileFormat format, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the photo file format of the current lens. See PhotoFileFormat to view all possible photo formats to which the lens can be set. Not supported by Zenmuse H20 Series.
voidsetExposureMode(@NonNull SettingsDefinitions.ExposureMode mode, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the exposure mode of the current lens. Check DJICameraExposureMode to view all possible camera exposure modes. Please note that in different exposure mode, it will have different values for the same setting.
voidsetShutterSpeed(@NonNull SettingsDefinitions.ShutterSpeed shutterSpeed, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the shutter speed of the current lens. To see all available "shutterSpeed" value settings, see ShutterSpeed. 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 lens exposure mode is Shutter mode or Manual mode.
Shutter speed value to be set for the lens. For all available values shutterSpeed can be set to, please check ShutterSpeed. <br> 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 = 30fps, then the shutterSpeed must be <= 1/30.
voidsetSpotMeteringTarget(@NonNull Point spotIndex, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the spot metering area index of the current lens. The lens image is divided into 225 spots defined by 15 columns and 15 rows. The row index range is [0,14], where the values increase top to bottom across the image. The column index range is [0, 14], where the values increase left to right. In order to make the method work, The camera exposure mode should be Program, Shutter or Aperture, the exposure metering mode must be SPOT, and setAELock must be NO.
Input Parameters:
@NonNull Point spotIndex
Spot metering point coordinate (x, y). x is column index to be set. The value should falls in [0, 14], where the values increase left to right. y is row index to be set. The value should falls in [0, 14], where the values increase top to bottom across the image.
voidgetSpotMeteringTarget(@NonNull final CommonCallbacks.CompletionCallbackWith<Point> callback)
Package:
dji.sdk.camera
Description:
Gets the spot metering area row index and column index of the current lens. In order to make the method work, The lens exposure mode should be PROGRAM, SHUTTER_PRIORITY or APERTURE_PRIORITY, the exposure metering mode must be SPOT, and getAELock must be false.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Point> callback
The execution callback with the returned value(s).
voidsetExposureCompensation(@NonNull SettingsDefinitions.ExposureCompensation compensation, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the exposure compensation of the current lens. See ExposureCompensation to view all possible exposure compensations to which the camera can be set. In order to use this function, set the lens exposure mode to shutter, program or aperture.
voidsetAutoAEUnlockEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Enables/disables auto-unlocking of AE lock after shooting a photo. If it is enabled, the Auto Exposure will unlock after each shot. If disabled, Auto Exposure will change when calling setAELock.
voidsetWhiteBalance(@NonNull WhiteBalance whiteBalance, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the white balance of the current lens. When the white balance is a preset value (values except CUSTOM), the colorTemperature argument does not take effect. When the white balance is CUSTOM, the getColorTemperature value is used instead. See Also: WhiteBalancePreset to view all possible white balance setting options for the camera.
voidsetIRFilterEnabled(finalboolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Enables/disables the IR filter (infared filter). Disabling the IR filter can enhance the image in low light environments. Enabling the IR filter can reduce the color distortion caused by the infared light. Supported by the zoom lens of Zenmuse H20 Series.
voidgetIRFilterEnabled(@NonNull final CommonCallbacks.CompletionCallbackWith<Boolean> callback)
Package:
dji.sdk.camera
Description:
Determines whether IR filter (infared filter) is enabled. Disabling the IR filter can enhance the image in low light environments. Enabling the IR filter can reduce the color distortion caused by the infared light. Supported by the zoom lens of Zenmuse H20 Series.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Boolean> callback
The execution callback with the returned value(s).
voidsetIRFilterMode(@NonNull final SettingsDefinitions.IRFilterMode irFilterMode, @NonNull final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the IR filter mode of the current lens. ON to reduce the color distortion caused by the infared light, OFF to enhance the image in low light environments, or AUTO to up to the system to decide whether to switch. Supported by the zoom lens of Zenmuse H20 Series.
Check if the current device supports digital zoom scale. It is supported by Osmo with X3 camera, Phantom 4 camera, Z3 camera, Mavic Pro camera and Z30 camera. For Zenmuse H20 Series and Mavic 2 Enterprise Advanced, please use class Lens.
voidgetDigitalZoomFactor(@NonNull final CommonCallbacks.CompletionCallbackWith<Float> callback)
Package:
dji.sdk.camera
Description:
Gets current digital zoom factor of the current lens. Note Z30 cannot set the digital zoom scale, but will use digital zoom when using startContinuousOpticalZoom and the optical zoom has reached its limit. Not supported by Zenmuse H20 Series.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Float> callback
The execution callback with the returned value(s).
voidstartContinuousOpticalZoom(@NonNull SettingsDefinitions.ZoomDirection direction, @NonNull final SettingsDefinitions.ZoomSpeed speed, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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 stopContinuousOpticalZoom is called. Supported by the zoom lens of Zenmuse H20 Series and Mavic 2 Enterprise Advanced.
voidstopContinuousOpticalZoom(@Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Called to stop focal length changing, when it currently is from calling startContinuousOpticalZoom. Supported by the zoom lens of Zenmuse H20 Series and Mavic 2 Enterprise Advanced.
Hybrid zoom is combining optical and digital zoom. Lens will automatically switch over to digital zoom when optical zoom range is exceeded. Check if lens supports hybrid zoom. Supported by the zoom lens of Zenmuse H20 Series.
voidgetHybridZoomSpec(@NonNull final CommonCallbacks.CompletionCallbackWith<SettingsDefinitions.HybridZoomSpec> callback)
Package:
dji.sdk.camera
Description:
Hybrid zoom is combining optical and digital zoom. Lens will automatically switch over to digital zoom when optical zoom range is exceeded. Gets the specification of the zoom lens. Supported by the zoom lens of Zenmuse H20 Series.
voidsetHybridZoomFocalLength(int focalLength, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Hybrid zoom is combining optical and digital zoom. Lens will automatically switch over to digital zoom when optical zoom range is exceeded. Sets focal length of the zoom lens. Supported by the zoom lens of Zenmuse H20 Series.
voidgetHybridZoomFocalLength(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Hybrid zoom is combining optical and digital zoom. Lens will automatically switch over to digital zoom when optical zoom range is exceeded. Gets zoom lens focal length in units of 0.1mm. Supported by the zoom lens of Zenmuse H20 Series.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned value(s).
voidsetTapZoomEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Enable/disable TapZoom. tapZoomAtTarget can only be called when TapZoom is enabled. Supported by Mavic 2 Enterprise Advanced, the zoom lens and the wide lens of Zenmuse H20 Series.
voidsetTapZoomMultiplier(@IntRange(from = 1, to = 5)int multiplier, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
TapZoom uses a multiplier to change the zoom scale when called. The final zoom scale for a TapZoom will be: Current Zoom Scale x Multiplier. The multiplier range is [1,5]. A multiplier of 1 will not change the zoom. When the multiplier is 1, the zoom scale will not change during TapZoom. Supported by the zoom lens and the wide lens of Zenmuse H20 Series. The tap zoom multiplier of Zenmuse H20 Series must be 1.
voidgetTapZoomMultiplier(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the multiplier for TapZoom. Supported by the zoom lens and the wide lens of Zenmuse H20 Series. The tap zoom multiplier of Zenmuse H20 Series must be 1.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned value(s).
voidtapZoomAtTarget(@NonNull PointF target, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
TapZoom at the target. It can be called only when TapZoom is enabled. When a new target is set, the gimbal will rotate and locate the target in the center of the screen. At the same time, the camera will zoom by multiplying the TapZoom multiplier. Supported by Mavic 2 Enterprise Advanced, the zoom lens and the wide lens of Zenmuse H20 Series. It will only work when the tap zoom multiplier of Zenmuse H20 Series is 1.
Input Parameters:
@NonNull PointF target
The target to zoom. The range for x and y is from 0.0 to 1.0. The point [0.0, 0.0] represents the top-left corner of the screen.
voidsetAperture(@NonNull SettingsDefinitions.Aperture aperture, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the aperture value of the current lens. This feature is available only when isAdjustableApertureSupported returns true. Precondition: The exposure mode ExposureMode must be in MANUAL or APERTURE_PRIORITY. Supported only by the zoom lens of Zenmuse H20 Series and Mavic 2 Enterprise Advanced.
Determines whether the lens supports an adjustable focal point. Currently, the adjustable focal point is supported by the zoom lens of Zenmuse H20 Series.
voidsetFocusMode(@NonNull SettingsDefinitions.FocusMode focusMode, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the focus mode of the current lens. See FocusMode. It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
voidgetFocusMode(@NonNull final CommonCallbacks.CompletionCallbackWith<SettingsDefinitions.FocusMode> callback)
Package:
dji.sdk.camera
Description:
Gets the focus mode of the current lens. Please check FocusMode. It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
voidsetFocusTarget(@NonNull PointF focusTarget, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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 enabled for the manual mode. It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
Input Parameters:
@NonNull PointF focusTarget
The focus target to set. The range for x and y is from 0.0 to 1.0. The point [0.0, 0.0] represents the top-left angle of the screen.
voidgetFocusTarget(@NonNull final CommonCallbacks.CompletionCallbackWith<PointF> callback)
Package:
dji.sdk.camera
Description:
Gets the lens focus target point. It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<PointF> callback
The execution callback with the returned value(s).
voidsetFocusAssistantSettings(FocusAssistantSettings settings, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Used to enable/disable the lens focus assistant. When the focus assistant is enabled, the camera live view will digitally zoom into the focus target area so the user can see the quality of focus. Focus assistant can be used for both manual focus (MF) and auto focus (AF). It is available only when isAdjustableFocalPointSupported returns true. Not supported by Mavic 2 Enterprise Advanced.
voidgetFocusAssistantSettings(@NonNull final CommonCallbacks.CompletionCallbackWithTwoParam<Boolean, Boolean> callback)
Package:
dji.sdk.camera
Description:
Determines whether the lens focus assistant is enabled. When the focus assistant is enabled, the camera live view will digitally zoom into the focus target area so the user can see the quality of focus. Focus assistant can be used for both manual focus (MF) and auto focus (AF). It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWithTwoParam<Boolean, Boolean> callback
The execution callback with the returned value(s).
voidgetFocusRingValueUpperBound(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the lens focusing ring value's max value. It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned value(s).
voidsetFocusRingValue(@IntRange(from = 0)int value, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Set the focal distance by simulating the focus ring adjustment. Value can have a range of 0, getFocusRingValueUpperBound], which represents infinity and the closest possible focal distance. It is available only when isAdjustableFocalPointSupported returns true. 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: - Call setFocusMode with AUTO. - Call setFocusTarget with the furthest target (>30m). - Call getFocusRingValue to get the current focus ring value. This is the minimum value. The maximum value can be retrieved using getFocusRingValueUpperBound. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
Input Parameters:
@IntRange(from = 0) int value
Value to adjust focus ring to. The minimum value is 0, the maximum value depends on the installed lens. Please use method getFocusRingValueUpperBound to ensure the input argument is valid.
voidgetFocusRingValue(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the lens focus ring value. It is available only when isAdjustableFocalPointSupported returns true. Supported by the zoom lens of Zenmuse H20 Series. Not supported by Mavic 2 Enterprise Advanced.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned value(s).
voidsetAntiFlickerFrequency(@NonNull SettingsDefinitions.AntiFlickerFrequency antiFlickerFrequency, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the lens anti-flicker frequency for video recording. Precondition: The exposure mode must be Program. Note: for the Z30 camera, changing anti-flicker will reboot the camera before the setting takes effect. It is not supported by Zenmuse H20 Series.
voidsetThermalROI(@NonNull SettingsDefinitions.ThermalROI roi, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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 by the thermal lens of Zenmuse H20T and H20N.
voidsetThermalPalette(@NonNull SettingsDefinitions.ThermalPalette palette, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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.
voidsetThermalScene(@NonNull SettingsDefinitions.ThermalScene scene, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the scene to instantly enhance your image. In all modes except Manual and User modes, the DDE, ACE, SSO, brightness and contrast are set automatically to obtain the best result. In User modes, the contrast and brightness are set automatically to obtain the best results. Any settings that are made in these modes are retained if the scene is changed. In Manual mode, DDE, contrast and brightness are set manually.
voidsetThermalDDE(@IntRange(from = -20, to = 100)int value, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the Digital Data Enhancement index (for DDE dynamic mode). DDE can be used to enhance image details (sharpen, higher index) and/or suppress fixed pattern noise (soften, lower index). It can be set manually only when the Scene mode is Manual, User1, User2 or User3.
Input Parameters:
@IntRange(from = -20, to = 100) int value
Integer in range [-20, 100]. Values less than 0 soften the image and filter fixed pattern noise. Values greater than 0 sharpen the details in the image. Value of 0 results in no enhancement.
voidsetThermalACE(@IntRange(from = -8, to = 8)int value, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Set the value of Active Contrast Enhancement. Active contrast enhancement allows for a contrast trade-off between hotter and colder scenes when using 8-bit pixel data. It can be set manually only when the Scene mode is User1, User2 or User3. Not supported by Zenmuse H20T and H20N.
Input Parameters:
@IntRange(from = -8, to = 8) int value
Integer in range [-8, 8]. <br> value > 0: more contrast in hotter scene content and less contrast in colder scene content (sky, ocean etc.). <br> value < 0: more contrast in colder scene content and less contrast in hotter scene content. <br> value = 0: neutral <br> value = 3: recommended for generic use.
voidgetThermalACE(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the value of Active Contrast Enhancement. The value is available only when the Scene mode is Manual, User1, User2 or User3. Not supported by Zenmuse H20T and H20N.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned value(s).
voidsetThermalSSO(@IntRange(from = 0, to = 100)int value, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the value of Smart Scene Optimization. When using non-linear histogram equalization to map the 14-bit sensor pixel values to 8-bit pixel values, it can become difficult to determine the difference in temperature of two objects from their different shades of gray. SSO allows a percentage of the 14-bit histogram to be mapped linearly to the 8-bit histogram, which will compromise local contrast, but allow for more accurate visual radiometric measurements. This is particularly useful for bi-modal scenes. It can be set manually only when the Scene mode is User1, User2 or User3. Not supported by Zenmuse H20T and H20N.
voidgetThermalSSO(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the value of Smart Scene Optimization. The value is available only when the Scene mode is Manual, User1, User2 or User3. Not supported by Zenmuse H20T and H20N.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned value(s).
voidsetThermalIsothermEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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. Not supported by Mavic 2 Enterprise Advanced.
voidsetThermalIsothermMiddleValue(@IntRange(from = 0, to = 100)int value, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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. Not supported by Zenmuse H20T and H20N.
Input Parameters:
@IntRange(from = 0, to = 100) int value
If the unit is percentage, the value falls in [0,100]. If the unit is Celsius, the value range is [-40, 550]. The value can only be equal or larger than lower threshold and equal or smaller than upper threshold.
voidsetThermalIsothermLowerValue(@IntRange(from = 0, to = 100)int value, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
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 by the thermal lens of Zenmuse H20T and H20N.
Input Parameters:
@IntRange(from = 0, to = 100) int value
If the unit is percentage, the value falls in [0,100].
voidsetThermalGainMode(@NonNull SettingsDefinitions.ThermalGainMode mode, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the gain mode. Low gain mode can be used for scenes with temperatures ranging from -40 to 550 degrees Celsius. For higher contrast, the high gain mode can be used by for temperatures between -25 to 135 degrees Celsius for the 640x512 camera and -25 to 100 degrees Celsius for 324 x 256 camera. Mavic 2 Enterprise Dual has different temperature range from other thermal imaging cameras. Therefore, for Mavic 2 Enterprise Dual, the low gain mode can be used from -10 to 140 degrees Celsius. The high gain mode can be used from -10 to 400 degree Celsius, for Mavic 2 Enterprise Advanced, the low gain mode can be used from -20 to 450 degrees Celsius. The high gain mode can be used from -20 to 150 degree Celsius
Sets the mode for thermal measurement. Supported only by thermal imaging cameras. Supported by the thermal lens of Zenmuse H20T and H20N and Mavic 2 Enterprise Advanced.
For resolution 640 x 512, x1,x2,x4,x8 can be set. For resolution 336 x 256, only x1,x2,x4 can be set. Please refer to ThermalDigitalZoomFactor in DJICameraSettingsDef.
voidgetThermalProfile(@NonNull final CommonCallbacks.CompletionCallbackWith<SettingsDefinitions.ThermalProfile> callback)
Package:
dji.sdk.camera
Description:
Gets the thermal imaging camera profile. The profile includes information about resolution, frame rate and focal length. Supported by the thermal lens of Zenmuse H20T and H20N.
voidgetThermalSpotMeteringTargetPoint( @NonNull final CommonCallbacks.CompletionCallbackWith<PointF> callback)
Package:
dji.sdk.camera
Description:
Gets the spot metering target point if one is set, if not then returns CGPointZero.
Supported by the thermal lens of Zenmuse H20T and H20N and Mavic 2 Enterprise Advanced.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<PointF> callback
The execution callback with the returned value(s).
voidsetThermalSpotMeteringTargetPoint(@NonNull PointF targetPoint, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the spot metering target point which then invoke the callback from setThermalTemperatureCallback. This method requires a relative point that is proportional to the dimension
of the camera video dimension, the x, and y values must all be between 0 and 1.0. You should call setThermalMeasurementMode to set the measurement mode to SPOT_METERING first. Supported by the thermal lens of Zenmuse H20T and H20N and Mavic 2 Enterprise Advanced.
voidsetThermalMeteringArea(@NonNull RectF area, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Set the metering area for a rectangle inside the thermal ismage scene, which allows the camera to transmit aggregate temperature computations via the onUpdate delegate method. See ThermalAreaTemperatureAggregations for the statistical values that are available. This method requires a relative rect that is proportional to the rect of the thermal scene, the x, y, width, and height values must all be between 0 and 1.0. You should call setThermalMeasurementMode to set the measurement mode to AREA_METERING first. Supported by the thermal lens of Zenmuse H20T and H20N and Mavic 2 Enterprise Advanced.
voidgetThermalCustomExternalSceneSettingsProfile( @NonNull final CommonCallbacks.CompletionCallbackWith<SettingsDefinitions.ThermalCustomExternalSceneSettingsProfile> callback)
Package:
dji.sdk.camera
Description:
Gets the currently set custom user profile. This profile represents user-set external scene parameters for the thermal scene. Not supported by Zenmuse H20T and H20N.
voidsetThermalCustomExternalSceneSettingsProfile(@NonNull SettingsDefinitions.ThermalCustomExternalSceneSettingsProfile profile, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the custom user profile. This profile represents user-set external scene parameters for the thermal scene. Not supported by Zenmuse H20T and H20N.
voidsetDisplayMode(final SettingsDefinitions.DisplayMode mode, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the display mode to coordinate the video feeds from both the visual camera and the thermal camera. Only applies to the thermal infrared video feed. For Zemmuse H20T and H20N, you should set setCameraVideoStreamSource with INFRARED_THERMAL first. Only supported by Zenmuse H20T and H20N.and Mavic 2 Enterprise Advanced.
voidsetPIPPosition(final SettingsDefinitions.PIPPosition position, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the thermal window's position relative to the visual window. Only applies to the thermal infrared video feed. The setting is valid when the display mode is PIP. Refer to setDisplayMode and getDisplayMode.
voidgetPIPPosition(@NonNull final CommonCallbacks.CompletionCallbackWith<SettingsDefinitions.PIPPosition> callback)
Package:
dji.sdk.camera
Description:
Gets the PIP position which determines the thermal window's position relative to the visual window. The setting is valid when the display mode is PIP. Refer to setDisplayMode and getDisplayMode.
voidsetMSXLevel(@IntRange(from = 0, to = 100)int level, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the level for MSX display mode. The range for level is [0, 100]. When it is 0, the visible spectrum definition is invisible. When it is 100, the visual spectrum definition is the most obvious. Only applies to the thermal infrared video feed.
voidgetMSXLevel(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the level for MSX display mode. The range for level is [0, 100]. When it is 0, the visible spectrum definition is invisible. When it is 100, the visual spectrum definition is the most obvious. Supported by the thermal lens of Zenmuse H20T and H20N.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned execution result.
voidsetDualFeedHorizontalAlignmentOffset(@IntRange(from = -100, to = 100)int offset, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the horizontal alignment offset between the video feeds from both the visual lens and the thermal lens. The alignment is applied to the MSX display mode. Different camera results in different value ranges.
Input Parameters:
@IntRange(from = -100, to = 100) int offset
Range from -100 to 100 for XT2, from -40 to 40 for Mavic 2 Enterprise Dual.
voidgetDualFeedHorizontalAlignmentOffset(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the horizontal alignment offset between the video feeds from both the visual lens and the thermal lens. The alignment is applied to the MSX display mode. Different camera results in different value ranges.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned execution result.
voidsetDualFeedVerticalAlignmentOffset(@IntRange(from = -40, to = 40)int offset, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the vertical alignment offset between the video feeds from both the visual lens and the thermal lens. The alignment is applied to the MSX display mode. Different camera results in different value ranges.
Input Parameters:
@IntRange(from = -40, to = 40) int offset
Range from -8 to 8 for XT2, from -40 to 40 for Mavic 2 Enterprise Dual.
voidgetDualFeedVerticalAlignmentOffset(@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback)
Package:
dji.sdk.camera
Description:
Gets the vertical alignment offset between the video feeds from both the visual lens and the thermal Lens. The alignment is applied to the MSX display mode. Different camera results in different value ranges.
Input Parameters:
@NonNull final CommonCallbacks.CompletionCallbackWith<Integer> callback
The execution callback with the returned execution result.
voidsetThermalBackgroundTemperature(finalfloat temperature, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets the assumed temperature reflected by the background of the scene, can be between -50 and 327.67 degrees Celsius. Not supported by Zenmuse H20T and H20N.
voidsetThermalWindowReflection(finalfloat reflection, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.camera
Description:
Sets assumed window reflection coefficient, can be between 0 and X where X is the window transmission coefficient parameter. Not supported by Zenmuse H20T and H20N.
Enables or disables the infrared sensor protection. If the sensor protection is enabled, the infrared thermal camera shutter might be closed. Only supported by Zenmuse H20T and H20N.
Enables the infrared thermal camera. Infrared thermal camera shutter may be closed, if the sensor protection is enabled. Only supported by Zenmuse H20T and H20N.
Sets the thermal lens temperature aggregation update callback. Callback will be called when there are new min, max, and average values available for the set spot metering area. Supported by the thermal lens of Zenmuse H20T and H20N.
Sets the thermal lens external scene settings update callback. Callback will get called when updated external scene settings are available. Only supported by XT2.
Sets the thermal lens temperature update callback. Callback is used when there is a new temperature value available for the set spot metering target point. Supported by the thermal lens of Zenmuse H20T and H20N.
The Callback object to set as the callback. <br> Callback implements an onUpdate method.</br> The Float object contains information about the updated temperature value.
Sets the callback for updated exposure parameters. The callback's onUpdate method will be called each time the exposure parameters (ISO, Exposure Compensation, Shutter Speed and Aperture) are updated.
voidsetTapZoomStateCallback(@Nullable final Lens.TapZoomStateCallback callback)
Package:
dji.sdk.camera
Description:
Sets the tap zoom state callback. The callback's DJICamera_DJILens_TapZoomStateCallbackInterface_onUpdate method will be called when the lens zoom state is updated. Supported by the zoom lens and the wide lens of Zenmuse H20 Series and Mavic 2 Enterprise Advanced.
Input Parameters:
@Nullable final Lens.TapZoomStateCallback callback
Completion block that receives the execution result.
Sets the laser measure information callback. When laser information would been updated, it call Callback to update the laser state information. The laser sensor must be at least 3m from the target point. It is only supported by Zenmuse H20 series.