ValueConverter

interface ValueConverter<ValueType>

A generic interface for converting a property's VHAL information to an IVI property of type ValueType.

Parameters

ValueType

A generic type. Commonly used types are VehicleProperties subtypes or VehicleZoneProperty.

Functions

Link copied to clipboard
abstract fun convert(    value: Any?,     areaId: Int,     range: ClosedRange<*>?): ValueType

Converts value, areaId, and range to an IVI property of type ValueType.