HdrImageCaptureExtender

public class HdrImageCaptureExtender
extends Object

java.lang.Object
   ↳ androidx.camera.extensions.HdrImageCaptureExtender


Load the OEM extension implementation for HDR effect type.

Summary

Public methods

static HdrImageCaptureExtender create(ImageCaptureConfig.Builder builder)

Create a new instance of the HDR extender.

void enableExtension()

Enables the derived image capture extension feature.

boolean isExtensionAvailable()

Indicates whether extension function can support with ImageCaptureConfig.Builder

Inherited methods

Public methods

create

public static HdrImageCaptureExtender create (ImageCaptureConfig.Builder builder)

Create a new instance of the HDR extender.

Parameters
builder ImageCaptureConfig.Builder: Builder that will be used to create the configurations for the ImageCapture.

Returns
HdrImageCaptureExtender

enableExtension

public void enableExtension ()

Enables the derived image capture extension feature.

Image capture extension has dependence on preview extension. A PREVIEW_EXTENSION_REQUIRED error will be thrown if corresponding preview extension is not enabled together.

isExtensionAvailable

public boolean isExtensionAvailable ()

Indicates whether extension function can support with ImageCaptureConfig.Builder

Returns
boolean True if the specific extension function is supported for the camera device.