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

HdrPreviewExtender

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

Load the OEM extension Preview implementation for HDR effect type.

Summary

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

Create a new instance of the HDR extender.

Inherited functions

Public methods

create

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

Create a new instance of the HDR extender.

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