open class AutoPreviewExtender : PreviewExtender
Load the OEM extension Preview implementation for auto effect type.
enableExtension(@NonNull cameraSelector: CameraSelector)
Enables the derived image capture extension feature. If the extension can't be applied on any of the cameras specified with the given
CameraSelector, it will be no-ops.
Enabling extensions on
Preview may limit the number of cameras which can be selected when the
Preview is used as a parameter to bindToLifecycle. BindToLifecycle will throw an exception if no cameras are found that support the extension.
Preview extension has dependence on image capture extension. A IMAGE_CAPTURE_EXTENSION_REQUIRED error will be thrown if corresponding image capture extension is not enabled together.
isExtensionAvailable(@NonNull cameraSelector: CameraSelector)
Indicates whether extension function can support with the given