Processor
interface Processor : ImageProcessor, AudioProcessor, UserProcessor, LocationProcessor, SafeRenderAreaProcessor, MediaProcessor
Content copied to clipboard
Extension of ImageProcessor that allows to apply and remove lenses on top of the incoming image and audio input stream rendered to connected outputs.
Types
Configuration
Link copied to clipboard
interface Configuration
Content copied to clipboard
Failure
Link copied to clipboard
InputFrameRotationBehavior
Link copied to clipboard
enum InputFrameRotationBehavior : Enum<LensesComponent.Processor.InputFrameRotationBehavior>
Content copied to clipboard
Functions
apply
Link copied to clipboard
open fun apply(lens: LensesComponent.Lens, callback: Consumer<Boolean> = Consumer {})
Content copied to clipboard
open fun apply(lens: LensesComponent.Lens, launchData: LensesComponent.Lens.LaunchData = Lens.LaunchData.Empty, callback: Consumer<Boolean> = Consumer {})
Content copied to clipboard
abstract fun apply(lens: LensesComponent.Lens, launchData: LensesComponent.Lens.LaunchData = Lens.LaunchData.Empty, reset: Boolean = false, callback: Consumer<Boolean> = Consumer {})
Content copied to clipboard
Attempts to apply the provided lens model with launchData and the reset flag which determines whether lens state should be reset if the same lens is currently applied.
connectInput
Link copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
connectOutput
Link copied to clipboard
@CheckResult()
Content copied to clipboard
@CheckResult()
Content copied to clipboard
observe
Link copied to clipboard
@CheckResult()
Content copied to clipboard
Allows to observe lens lifecycle events defined in Event.
observeRequiredCapabilities
Link copied to clipboard
@CheckResult()
Content copied to clipboard
Takes in onCapabilitiesRequested that will be notified when image processing operations require additional data from connected Input.
Inheritors
LensesComponent.Processor
Link copied to clipboard