Noop

object Noop : AdjustmentsComponent.Processor

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>>)
Attempts to apply the provided adjustment model.
available
Link copied to clipboard
open override fun available(adjustment: AdjustmentsComponent.Adjustment, callback: Consumer<Boolean>)
Checks whether the provided adjustment is available to the current client environment.
connectInput
Link copied to clipboard
open override fun connectInput(input: ImageProcessor.Input): Closeable
Connects the provided input to this processor and returns a Closeable to release the connection when required.
open fun connectInput(input: ImageProcessor.Input, options: Set<ImageProcessor.Input.Option>): Closeable
Connects the provided input to this processor and returns a Closeable to release the connection when required.
connectOutput
Link copied to clipboard
open override fun connectOutput(output: ImageProcessor.Output): Closeable
Connects the provided output to this processor and returns a Closeable to release the connection when required.
open fun connectOutput(output: ImageProcessor.Output, options: Set<ImageProcessor.Output.Option>): Closeable
Connects the provided output to this processor and returns a Closeable to release the connection when required.
observeRequiredCapabilities
Link copied to clipboard
open override fun observeRequiredCapabilities(onCapabilitiesRequested: Consumer<Set<ImageProcessor.Input.Capability>>): Closeable
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>)
Removes the provided adjustment model, if applied.