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

BokehPreviewExtender

open class BokehPreviewExtender : PreviewExtender
kotlin.Any
   ↳ androidx.camera.extensions.PreviewExtender
   ↳ androidx.camera.extensions.BokehPreviewExtender

Load the OEM extension Preview implementation for bokeh effect type.

Summary

Public methods
open static BokehPreviewExtender
create(@NonNull builder: Preview.Builder)

Create a new instance of the bokeh extender.

Inherited functions

Public methods

create

@NonNull open static fun create(@NonNull builder: Preview.Builder): BokehPreviewExtender

Create a new instance of the bokeh extender.

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