BokehImageCaptureExtender

public class BokehImageCaptureExtender
extends ImageCaptureExtender

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


This class is deprecated.
Use ExtensionsManager.isExtensionAvailable(CameraProvider, CameraSelector, int) to check whether extension function can support with the given CameraSelector. Use ExtensionsManager.getExtensionEnabledCameraSelector(CameraProvider, CameraSelector, int) to get a CameraSelector for the specific extension mode, then use it to bind the use cases to a lifecycle owner.

Loads the OEM extension implementation for bokeh effect type.

Summary

Public methods

static BokehImageCaptureExtender create(ImageCapture.Builder builder)

Creates a new instance of the bokeh extender.

Inherited methods

Public methods

create

public static BokehImageCaptureExtender create (ImageCapture.Builder builder)

Creates a new instance of the bokeh extender.

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

Returns
BokehImageCaptureExtender