Item

sealed class Item

Defines all possible item types that can be displayed in the media picker.

Types

Link copied to clipboard

Represents a loading item.

Link copied to clipboard
class Media(val id: String, val iconUri: String?, val cropRect: RectF?, val label: String, val selected: Boolean) : LensesComponent.MediaPicker.View.Item

Represents a media item with a unique id. iconUri is an icon resource URI of the media item. cropRect is a rect to crop media item icon when displaying. label is a text to be displayed on a media item view. selected defines if the media item is selected in media picker.

Inheritors

Link copied to clipboard
Link copied to clipboard