ImageCapturePixelHDRPlus

@RequiresApi(21) open class ImageCapturePixelHDRPlus
kotlin.Any
   ↳ androidx.camera.camera2.internal.compat.workaround.ImageCapturePixelHDRPlus

Workaround that handles turning on/off HDR+ on Pixel devices.

Summary

Public constructors

Workaround that handles turning on/off HDR+ on Pixel devices.

Public methods
open Unit
toggleHDRPlus(captureMode: Int, @NonNull builder: Builder)

Turns on or turns off HDR+ on Pixel devices depending on the image capture use case's capture mode.

Public constructors

ImageCapturePixelHDRPlus

ImageCapturePixelHDRPlus()

Workaround that handles turning on/off HDR+ on Pixel devices.

Public methods

toggleHDRPlus

open fun toggleHDRPlus(
    captureMode: Int,
    @NonNull builder: Builder
): Unit

Turns on or turns off HDR+ on Pixel devices depending on the image capture use case's capture mode. When the mode is ImageCapture#CAPTURE_MODE_MINIMIZE_LATENCY, HDR+ is turned off by disabling ZSL. When the mode is ImageCapture#CAPTURE_MODE_MAXIMIZE_QUALITY, HDR+ is turned on by enabling ZSL.