Noop
Convenience implementation of Processor which does nothing but notify operation callbacks with failure.
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
open override fun apply(lens: LensesComponent.Lens, launchData: LensesComponent.Lens.LaunchData, reset: Boolean, callback: Consumer<Boolean>)
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
open override fun connectInput(input: LocationProcessor.Input): Closeable
Content copied to clipboard
open override fun connectInput(input: SafeRenderAreaProcessor.Input): Closeable
Content copied to clipboard
@CheckResult()
Content copied to clipboard
connectOutput
Link copied to clipboard
open override fun connectOutput(output: ImageProcessor.Output): Closeable
Content copied to clipboard
@CheckResult()
Content copied to clipboard
observeRequiredCapabilities
Link copied to clipboard
open override fun observeRequiredCapabilities(onCapabilitiesRequested: Consumer<Set<ImageProcessor.Input.Capability>>): Closeable
Content copied to clipboard
Takes in onCapabilitiesRequested that will be notified when image processing operations require additional data from connected Input.