RestrictedSetProperty
data class RestrictedSetProperty<T : Parcelable>(val value: Set<T>?, val supportedCombinations: Set<Set<T>>) : VehicleProperties.VehicleProperty<Set<T>>
Content copied to clipboard
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>>)
Content copied to clipboard