CarZoneUtils
@ExperimentalCarApi
public final class CarZoneUtils
Car zone utility methods.
Summary
Public methods |
|
|---|---|
static @NonNull ImmutableSet<CarZone> |
convertAreaIdToCarZones(int areaType, int areaId)Converts |
static @NonNull CarZoneAreaIdConverter |
getZoneAreaIdConverter(int areaType)Gets an object of the converter classes based on the area type. |
Public methods
convertAreaIdToCarZones
Added in 1.3.0
public static @NonNull ImmutableSet<CarZone> convertAreaIdToCarZones(int areaType, int areaId)
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
public static @NonNull CarZoneAreaIdConverter getZoneAreaIdConverter(int areaType)
Gets an object of the converter classes based on the area type. Only Seat area type is supported yet.