AdjustmentsComponent

interface AdjustmentsComponent : Closeable

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

Adjustment
Link copied to clipboard
interface Adjustment
Defines the data model of an adjustment that is available to be used by AdjustmentsComponent exposed features.
Noop
Link copied to clipboard
object Noop : AdjustmentsComponent
Convenience implementation of AdjustmentsComponent that does nothing.
Processor
Link copied to clipboard
interface Processor : ImageProcessor
Extension of ImageProcessor that allows to apply and remove adjustments on top of the incoming image input stream rendered to connected outputs.

Functions

close
Link copied to clipboard
abstract override fun close()
Closes all resources allocated for this AdjustmentsComponent.

Properties

processor
Link copied to clipboard
open val processor: AdjustmentsComponent.Processor
Provides adjustments specific Processor which allows to process image input with applied adjustments while rendering results to connected outputs.

Inheritors

AdjustmentsComponent
Link copied to clipboard