CarZoneUtils
@ExperimentalCarApi
class CarZoneUtils
Car zone utility methods.
Summary
Public functions |
|
|---|---|
java-static ImmutableSet<CarZone!> |
convertAreaIdToCarZones(areaType: Int, areaId: Int)Converts |
java-static CarZoneAreaIdConverter |
getZoneAreaIdConverter(areaType: Int)Gets an object of the converter classes based on the area type. |
Public functions
convertAreaIdToCarZones
Added in 1.3.0
java-static fun convertAreaIdToCarZones(areaType: Int, areaId: Int): ImmutableSet<CarZone!>
Converts areaId, which is a bitmask of car areas, into a list of car zones. Each object in the return list corresponds to an area in areaId.
getZoneAreaIdConverter
Added in 1.3.0
java-static fun getZoneAreaIdConverter(areaType: Int): CarZoneAreaIdConverter
Gets an object of the converter classes based on the area type. Only Seat area type is supported yet.