Companion
Types
Properties
Link copied to clipboard
val singleBooleanConverter: VhalPropertyDelegate.ValueConverter<VehicleProperties.BooleanProperty>
Content copied to clipboard
A ValueConverter implementation that converts a Boolean value to a BooleanProperty.
Link copied to clipboard
val singleFloatConverter: VhalPropertyDelegate.ValueConverter<VehicleProperties.NumberProperty<Float>>
Content copied to clipboard
A simple ValueConverter implementation that converts a Float value to a NumberProperty, without taking range
into account.
Functions
Link copied to clipboard
fun <T : Parcelable, Comparable<T>> createCoercedRangedProperty( range: ClosedRange<T>, value: T?, propertyIdentifier: String): VehicleProperties.RangedProperty<T>
Content copied to clipboard
Creates an instance of VehicleProperties.RangedProperty by coercing Parcelable into a given range.
fun <T : Serializable, Comparable<T>> createCoercedRangedProperty( range: ClosedRange<T>, value: T?, propertyIdentifier: String): VehicleProperties.RangedProperty<T>
Content copied to clipboard
Creates an instance of VehicleProperties.RangedProperty by coercing Serializable into a given range.