AdjustmentsComponent

Provides access to all available features of adjustments. Normally, an instance of a component is acquired through com.snap.camerakit.Session which manages the lifecycle of the component.

Since

1.12.0

Types

Link copied to clipboard
interface Adjustment

Defines the data model of an adjustment that is available to be used by AdjustmentsComponent exposed features.

Link copied to clipboard

Convenience implementation of AdjustmentsComponent that does nothing.

Link copied to clipboard

Extension of ImageProcessor that allows to apply and remove adjustments on top of the incoming image input stream rendered to connected outputs.

Functions

Link copied to clipboard
abstract override fun close()

Closes all resources allocated for this AdjustmentsComponent. Overridden to indicate that calling close will not throw.

Properties

Link copied to clipboard

Provides adjustments specific Processor which allows to process image input with applied adjustments while rendering results to connected outputs. If this AdjustmentsComponent is closed then the returned Processor is expected to be no-op.

Inheritors

Link copied to clipboard