Android 12 Developer Preview is here! Try it out, and give us your feedback!

BokehPreviewExtender

public class BokehPreviewExtender
extends PreviewExtender

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


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