AutoPreviewExtender

public class AutoPreviewExtender
extends PreviewExtender

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


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 auto effect type.

Summary

Public methods

static AutoPreviewExtender create(Preview.Builder builder)

Create a new instance of the auto extender.

Inherited methods

Public methods

create

public static AutoPreviewExtender create (Preview.Builder builder)

Create a new instance of the auto extender.

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

Returns
AutoPreviewExtender