Package-level declarations

Types

Link copied to clipboard

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

Link copied to clipboard
Convenience methods to create LensesComponent.Lens.LaunchData instances.

Properties

Link copied to clipboard

Identifies bundled lens group which which is optionally provided to CameraKit from assets.

Functions

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.whenActivated(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.Activated>)

Notifies when event emitted by LensesComponent.Carousel is LensesComponent.Carousel.Event.Activated.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.whenActivatedIdle(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.Activated.Idle>)

Notifies when event emitted by LensesComponent.Carousel is LensesComponent.Carousel.Event.Activated.Idle.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.whenActivatedWithLens(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.Activated.WithLens>)

Notifies when event emitted by LensesComponent.Carousel is LensesComponent.Carousel.Event.Activated.WithLens.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Processor.Event.whenApplied(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Processor.Event.Applied>)

Notifies when event emitted by LensesComponent.Processor is LensesComponent.Processor.Event.Applied.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.whenDeactivated(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Carousel.Event.Deactivated>)

Notifies when event emitted by LensesComponent.Carousel is LensesComponent.Carousel.Event.Deactivated.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Processor.Event.whenFirstFrameProcessed(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Processor.Event.FirstFrameProcessed>)

Notifies when event emitted by LensesComponent.Processor is LensesComponent.Processor.Event.FirstFrameProcessed.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Repository.Result.whenHasFirst(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Lens>)

Notifies when LensesComponent.Repository has some available lenses calling back with the first one.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Repository.Result.whenHasSome(callback: ERROR CLASS: Symbol not found for Consumer<kotlin/collections/List<ERROR CLASS: Symbol not found for LensesComponent.Lens>>)

Notifies when LensesComponent.Repository has some available lenses.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for LensesComponent.Processor.Event.whenIdle(callback: ERROR CLASS: Symbol not found for Consumer<ERROR CLASS: Symbol not found for LensesComponent.Processor.Event.Idle>)

Notifies when event emitted by LensesComponent.Processor is LensesComponent.Processor.Event.Idle.