ItemOptions

interface ItemOptions

Represents options to customize lenses carousel item appearance.

Since

1.4.0

Functions

moveToLeft
Link copied to clipboard
open fun moveToLeft()
Specifies that this item should be presented on the left side of lenses carousel.
moveToRight
Link copied to clipboard
open fun moveToRight()
Specifies that this item should be presented on the right side of lenses carousel.

Properties

contentDescription
Link copied to clipboard
abstract var contentDescription: String
Brief description of this item that is primarily used for accessibility support.
enabled
Link copied to clipboard
abstract var enabled: Boolean
Specifies if this item should be presented in lenses carousel, true by default.
index
Link copied to clipboard
abstract var index: Int
Absolute position of this item in the lenses list.
lens
Link copied to clipboard
abstract val lens: LensesComponent.Lens
Lens model that represents this item.
lenses
Link copied to clipboard
abstract val lenses: List<LensesComponent.Lens>
Full list of available lenses that the item's lens belongs to.
side
Link copied to clipboard
abstract var side: LensesComponent.Carousel.Side
Specifies the side of lenses carousel this item should be presented in, typically Side.RIGHT.