RestrictedSetProperty

data class RestrictedSetProperty<T : Parcelable>(val value: Set<T>?, val supportedCombinations: Set<Set<T>>) : VehicleProperties.VehicleProperty<Set<T>>

Property holding an optional Set value of which the combination is guaranteed to be one of the combinations as provided by supportedCombinations.

Parameters

T

The type of the items in the Set.

value

The value of the property. Can be null if it is temporarily unavailable or invalid.

Constructors

Link copied to clipboard
fun <T : Parcelable> RestrictedSetProperty(value: Set<T>?, supportedCombinations: Set<Set<T>>)

Properties

Link copied to clipboard
val supportedCombinations: Set<Set<T>>
Link copied to clipboard
open override val value: Set<T>?

Inherited functions

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