IviThemeComponentSelectorSelection

@IviExperimental(reasons = [])
data class IviThemeComponentSelectorSelection(val selectedComponents: Set<IviThemeComponent> = emptySet())

Represents a collection of selected IviThemeComponents, as selected by an IviThemeComponentSelector.

A selected IviThemeComponent will be the active one for its corresponding IviThemeCategory. An IviThemeCategory can have only one selected IviThemeComponent and an IviThemeComponent can only be selected for its corresponding IviThemeCategory.

The IviThemeComponentSelectorSelection can be added to an IviThemeComponentSelection by using IviThemeComponentSelection.plus.

Parameters

selectedComponents

The selected IviThemeComponents. The set may not contain multiple IviThemeComponents that relate to the same IviThemeCategory.

Constructors

Link copied to clipboard
constructor(vararg selectedComponent: IviThemeComponent)

Construct this class with a single IviThemeComponent.

constructor(selectedComponents: Collection<IviThemeComponent>)

Construct this class with a collection of IviThemeComponents.

constructor(selectedComponents: Set<IviThemeComponent> = emptySet())