Noop
Convenience implementation of Processor that does nothing.
Functions
apply
Link copied to clipboard
open override fun <T : AdjustmentsComponent.Adjustment> apply(adjustment: T, callback: Consumer<AdjustmentsComponent.Processor.Result<T>>)
Content copied to clipboard
Attempts to apply the provided adjustment model.
available
Link copied to clipboard
open override fun available(adjustment: AdjustmentsComponent.Adjustment, callback: Consumer<Boolean>)
Content copied to clipboard
Checks whether the provided adjustment is available to the current client environment.
connectInput
Link 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.
remove
Link copied to clipboard
open override fun remove(adjustment: AdjustmentsComponent.Adjustment, callback: Consumer<Boolean>)
Content copied to clipboard
Removes the provided adjustment model, if applied.