ItemOptions

interface ItemOptions

Represents options to customize lenses carousel item appearance.

Since

1.4.0

Functions

Link copied to clipboard
open fun moveToLeft()

Specifies that this item should be presented on the left side of lenses carousel.

Link copied to clipboard
open fun moveToRight()

Specifies that this item should be presented on the right side of lenses carousel.

Properties

Link copied to clipboard

Brief description of this item that is primarily used for accessibility support. By default it is equal to `Lens.name Lens' if lens name is not empty, empty string otherwise.

Link copied to clipboard
abstract var enabled: Boolean

Specifies if this item should be presented in lenses carousel, true by default.

Link copied to clipboard
abstract var index: Int

Absolute position of this item in the lenses list. Can be modified to any positive number that represents distance to the center of lenses carousel relative to the item's side.

Link copied to clipboard

Lens model that represents this item.

Link copied to clipboard

Full list of available lenses that the item's lens belongs to.

Link copied to clipboard

Specifies the side of lenses carousel this item should be presented in, typically Side.RIGHT.