IviThemeComponent

@IviExperimental(reasons = [])
data class IviThemeComponent(val id: String, val themeCategory: IviThemeCategory, @StyleRes val resId: Int, val label: StringResolver) : Parcelable

Contains all the information related to theming a IviThemeCategory.

Parameters

id

The unique identifier of this IviThemeComponent. The following naming convention is applicable: company.product.themecomponent.category.id e.g. com.tomtom.ivi.themecomponent.color.dark

themeCategory

The IviThemeCategory this component belongs to.

resId

The resource ID of the IviThemeComponent's style.

label

The name of the theme component.

Constructors

Link copied to clipboard
constructor(id: String, themeCategory: IviThemeCategory, @StyleRes resId: Int, name: String)
constructor(id: String, themeCategory: IviThemeCategory, @StyleRes resId: Int, label: StringResolver)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val resId: Int
Link copied to clipboard

Inherited functions

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