Google is committed to advancing racial equity for Black communities. See how.

NightPreviewExtender

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

Load the OEM extension Preview implementation for night effect type.

Summary

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

Create a new instance of the night extender.

Inherited functions

Public methods

create

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

Create a new instance of the night extender.

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