BokehPreviewExtender

public class BokehPreviewExtender
extends PreviewExtender

java.lang.Object
   ↳ androidx.camera.extensions.PreviewExtender
     ↳ androidx.camera.extensions.BokehPreviewExtender


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.

Load the OEM extension Preview implementation for bokeh effect type.

Summary

Public methods

static BokehPreviewExtender create(Preview.Builder builder)

Create a new instance of the bokeh extender.

Inherited methods

Public methods

create

public static BokehPreviewExtender create (Preview.Builder builder)

Create a new instance of the bokeh extender.

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

Returns
BokehPreviewExtender