HdrPreviewExtender

public class HdrPreviewExtender
extends PreviewExtender

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


This class is deprecated.
Use ExtensionsManager.isExtensionAvailable(CameraProvider, CameraSelector, int) to check whether extension function can support with the given CameraSelector. Use ExtensionsManager.getExtensionEnabledCameraSelector(CameraProvider, CameraSelector, int) to get a CameraSelector for the specific extension mode, then use it to bind the use cases to a lifecycle owner.

Load the OEM extension Preview implementation for HDR effect type.

Summary

Public methods

static HdrPreviewExtender create(Preview.Builder builder)

Create a new instance of the HDR extender.

Inherited methods

Public methods

create

public static HdrPreviewExtender create (Preview.Builder builder)

Create a new instance of the HDR extender.

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

Returns
HdrPreviewExtender