@IviExperimental(reasons = [])
sealed class IviThemeComponent : Parcelable

Contains all the information related to theming an IviThemeCategory.

A theme component is a part of an IviThemeCategory.

An IviThemeComponent can be optionally parameterized by an IviThemeCategoryStylingFlavor type. Use this when additional type-safety and compile-time checks are desired. See IviThemeComponent.WithStylingFlavorType.

Multiple Android styles can be applied when an IviThemeComponent is selected for its IviThemeCategory. The styles are configured by IviThemeRegistrySource.Components plugins.



Link copied to clipboard
abstract val id: String

The unique identifier of this theme component. The following naming convention is applicable: <company>.<product>.themecomponent.<category>.<id>. For example: com.tomtom.ivi.themecomponent.color.dark

Link copied to clipboard
abstract val label: StringResolver

The label of the theme component.

Link copied to clipboard

The IviThemeCategory this component belongs to.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)