The Android Developer Challenge is back! Submit your idea before December 2.

ImageCaptureExtender

public abstract class ImageCaptureExtender
extends Object

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


Class for using an OEM provided extension on image capture.

Summary

Public constructors

ImageCaptureExtender()

Public methods

void enableExtension()

Enables the derived image capture extension feature.

boolean isExtensionAvailable()

Indicates whether extension function can support with ImageCaptureConfig.Builder

Inherited methods

Public constructors

ImageCaptureExtender

public ImageCaptureExtender ()

Public methods

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.