Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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 a new instance of the bokeh extender.

Inherited functions

Public methods

create

open static fun create(builder: PreviewConfig.Builder!): BokehPreviewExtender!

Create a new instance of the bokeh extender.

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