Functions

Link copied to clipboard
open override fun activate(lens: LensesComponent.Lens?, callback: Consumer<Boolean>)

Attempts to activate lenses carousel with an optional Lens pre-selected. The operation is async with the result provided as success or failure flag to the callback.

Link copied to clipboard
open override fun deactivate(callback: Consumer<Boolean>)

Attempts to deactivate lenses carousel. The operation is async with the result provided as success or failure flag to the callback.

Link copied to clipboard

Allows to observe lenses carousel lifecycle events defined in Event.