delegate

open fun delegate(@NonNull delegateTo: Processor)

Delegate this processor to another processor. This will mimic setting the resolution to the one of the parent processor, thereby forcing the enabled and attached states to true. Ensure your parent processor is attached prior to delegation, as resolution data will be available. Note that status checks to this delegated processor may not represent actual camera operation, as these properties are now proxied but not updated.

This method is not designed to be used by the end-user. Only use if you're absolutely sure what you're doing.

Parameters

delegateTo

The parent class that this processor should delegate to

See also

MultiColourThreshold - line 41