BokehImageCaptureExtender
open class BokehImageCaptureExtender : ImageCaptureExtender
Loads the OEM extension implementation for bokeh effect type.
Summary
Inherited functions |
From class ImageCaptureExtender
Unit |
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 ImageCapture may limit the number of cameras which can be selected when the ImageCapture is used as a parameter to bindToLifecycle. BindToLifecycle will throw an exception if no cameras are found that support the extension.
Image capture extension has dependence on preview extension. A PREVIEW_EXTENSION_REQUIRED error will be thrown if corresponding preview extension is not enabled together.
|
Boolean |
isExtensionAvailable(@NonNull cameraSelector: CameraSelector)
Indicates whether extension function can support with the given CameraSelector .
|
|
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-07-22 UTC.