UpdateComponentInfo

@IviExperimental(reasons = [])
data class UpdateComponentInfo(val id: UpdateComponentId, val displayName: StringResolver, val updates: List<Update> = emptyList(), val requiresOptIn: Boolean = false) : Parcelable

All information regarding an updatable component.

Constructors

Link copied to clipboard
constructor(id: UpdateComponentId, displayName: StringResolver, updates: List<Update> = emptyList(), requiresOptIn: Boolean = false)

Properties

Link copied to clipboard
val displayName: StringResolver

Used to display the name of this component in the UI.

Link copied to clipboard

Unique identifier for this component.

Link copied to clipboard
val requiresOptIn: Boolean = false

If true, the updatable component requires an opt-in before any of its updates become available. The default value is 'false'.

Link copied to clipboard

A sorted list of updates for this component.

Inherited functions

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