VehicleSizeClass

public final class VehicleSizeClass
extends Object

java.lang.Object
   ↳ android.car.hardware.property.VehicleSizeClass


Used to enumerate the various size classes of vehicles for the VehiclePropertyIds.INFO_VEHICLE_SIZE_CLASS PROPERTY.

This enum can be extended in future releases to include additional values.

Summary

Constants

int EPA_COMPACT

Represents compact cars as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_LARGE

Represents large cars as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_LARGE_STATION_WAGON

Represents large station wagons as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_MIDSIZE

Represents midsize cars as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_MIDSIZE_STATION_WAGON

Represents midsize station wagons as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_MINICOMPACT

Represents minicompact cars as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_MINIVAN

Represents minivans as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_SMALL_PICKUP_TRUCK

Represents small pickup trucks as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_SMALL_STATION_WAGON

Represents small station wagons as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_SMALL_SUV

Represents small sport utility vehicles (SUVs) as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_STANDARD_PICKUP_TRUCK

Represents standard pickup trucks as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_STANDARD_SUV

Represents standard sport utility vehicles (SUVs) as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_SUBCOMPACT

Represents subcompact cars as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_TWO_SEATER

Represents two-seaters as defined by the EPA standard of size classes for vehicles in the United States.

int EPA_VAN

Represents vans as defined by the EPA standard of size classes for vehicles in the United States.

int EU_A_SEGMENT

Represents A-segment vehicle size class, commonly called "mini" cars or "city" cars, as classified in the EU.

int EU_B_SEGMENT

Represents B-segment vehicle size class, commonly called "small" cars, as classified in the EU.

int EU_C_SEGMENT

Represents C-segment vehicle size class, commonly called "medium" cars, as classified in the EU.

int EU_D_SEGMENT

Represents D-segment vehicle size class, commonly called "large" cars, as classified in the EU.

int EU_E_SEGMENT

Represents E-segment vehicle size class, commonly called "executive" cars, as classified in the EU.

int EU_F_SEGMENT

Represents F-segment vehicle size class, commonly called "luxury" cars, as classified in the EU.

int EU_J_SEGMENT

Represents J-segment vehicle size class, commonly associated with SUVs and off-road vehicles, as classified in the EU.

int EU_M_SEGMENT

Represents M-segment vehicle size class, commonly called "multi-purpose" cars, as classified in the EU.

int EU_S_SEGMENT

Represents S-segment vehicle size class, commonly called "sports" cars, as classified in the EU.

int JPN_KEI

Represents keijidosha or "kei" cars as defined by the Japanese standard of size classes for vehicles.

int JPN_NORMAL_SIZE

Represents normal-size passenger vehicles as defined by the Japanese standard of size classes for vehicles.

int JPN_SMALL_SIZE

Represents small-size passenger vehicles as defined by the Japanese standard of size classes for vehicles.

int US_GVWR_CLASS_1_CV

Represents Class 1 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_2_CV

Represents Class 2 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_3_CV

Represents Class 3 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_4_CV

Represents Class 4 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_5_CV

Represents Class 5 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_6_CV

Represents Class 6 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_7_CV

Represents Class 7 trucks following the US GVWR classification of commercial vehicles.

int US_GVWR_CLASS_8_CV

Represents Class 8 trucks following the US GVWR classification of commercial vehicles.

Public methods

static String toString(int vehicleSizeClass)

Returns a user-friendly representation of VehicleSizeClass.

Inherited methods

Constants

EPA_COMPACT

public static final int EPA_COMPACT

Represents compact cars as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 259 (0x00000103)

EPA_LARGE

public static final int EPA_LARGE

Represents large cars as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 261 (0x00000105)

EPA_LARGE_STATION_WAGON

public static final int EPA_LARGE_STATION_WAGON

Represents large station wagons as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 264 (0x00000108)

EPA_MIDSIZE

public static final int EPA_MIDSIZE

Represents midsize cars as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 260 (0x00000104)

EPA_MIDSIZE_STATION_WAGON

public static final int EPA_MIDSIZE_STATION_WAGON

Represents midsize station wagons as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 263 (0x00000107)

EPA_MINICOMPACT

public static final int EPA_MINICOMPACT

Represents minicompact cars as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 257 (0x00000101)

EPA_MINIVAN

public static final int EPA_MINIVAN

Represents minivans as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 268 (0x0000010c)

EPA_SMALL_PICKUP_TRUCK

public static final int EPA_SMALL_PICKUP_TRUCK

Represents small pickup trucks as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 265 (0x00000109)

EPA_SMALL_STATION_WAGON

public static final int EPA_SMALL_STATION_WAGON

Represents small station wagons as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 262 (0x00000106)

EPA_SMALL_SUV

public static final int EPA_SMALL_SUV

Represents small sport utility vehicles (SUVs) as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 269 (0x0000010d)

EPA_STANDARD_PICKUP_TRUCK

public static final int EPA_STANDARD_PICKUP_TRUCK

Represents standard pickup trucks as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 266 (0x0000010a)

EPA_STANDARD_SUV

public static final int EPA_STANDARD_SUV

Represents standard sport utility vehicles (SUVs) as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 270 (0x0000010e)

EPA_SUBCOMPACT

public static final int EPA_SUBCOMPACT

Represents subcompact cars as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 258 (0x00000102)

EPA_TWO_SEATER

public static final int EPA_TWO_SEATER

Represents two-seaters as defined by the EPA standard of size classes for vehicles in the United States.

The current implementation of EPA-standard enums follows the classification defined in Federal Regulation, Title 40\u2014Protection of Environment, Section 600.315-08 "Classes of comparable automobiles".

Constant Value: 256 (0x00000100)

EPA_VAN

public static final int EPA_VAN

Represents vans as defined by the EPA standard of size classes for vehicles in the United States.

Constant Value: 267 (0x0000010b)

EU_A_SEGMENT

public static final int EU_A_SEGMENT

Represents A-segment vehicle size class, commonly called "mini" cars or "city" cars, as classified in the EU.

The current implementation of the EU Car Segment enums follows the classification first described in Case No COMP/M.1406 Hyundai / Kia Regulation (EEC) No 4064/89 Merger Procedure.

Constant Value: 512 (0x00000200)

EU_B_SEGMENT

public static final int EU_B_SEGMENT

Represents B-segment vehicle size class, commonly called "small" cars, as classified in the EU.

Constant Value: 513 (0x00000201)

EU_C_SEGMENT

public static final int EU_C_SEGMENT

Represents C-segment vehicle size class, commonly called "medium" cars, as classified in the EU.

Constant Value: 514 (0x00000202)

EU_D_SEGMENT

public static final int EU_D_SEGMENT

Represents D-segment vehicle size class, commonly called "large" cars, as classified in the EU.

Constant Value: 515 (0x00000203)

EU_E_SEGMENT

public static final int EU_E_SEGMENT

Represents E-segment vehicle size class, commonly called "executive" cars, as classified in the EU.

Constant Value: 516 (0x00000204)

EU_F_SEGMENT

public static final int EU_F_SEGMENT

Represents F-segment vehicle size class, commonly called "luxury" cars, as classified in the EU.

Constant Value: 517 (0x00000205)

EU_J_SEGMENT

public static final int EU_J_SEGMENT

Represents J-segment vehicle size class, commonly associated with SUVs and off-road vehicles, as classified in the EU.

Constant Value: 518 (0x00000206)

EU_M_SEGMENT

public static final int EU_M_SEGMENT

Represents M-segment vehicle size class, commonly called "multi-purpose" cars, as classified in the EU.

Constant Value: 519 (0x00000207)

EU_S_SEGMENT

public static final int EU_S_SEGMENT

Represents S-segment vehicle size class, commonly called "sports" cars, as classified in the EU.

Constant Value: 520 (0x00000208)

JPN_KEI

public static final int JPN_KEI

Represents keijidosha or "kei" cars as defined by the Japanese standard of size classes for vehicles.

The current implementation of Japan-standard enums follows the classification defined in the Japanese Government's Road Vehicle Act of 1951.

Constant Value: 768 (0x00000300)

JPN_NORMAL_SIZE

public static final int JPN_NORMAL_SIZE

Represents normal-size passenger vehicles as defined by the Japanese standard of size classes for vehicles.

Constant Value: 770 (0x00000302)

JPN_SMALL_SIZE

public static final int JPN_SMALL_SIZE

Represents small-size passenger vehicles as defined by the Japanese standard of size classes for vehicles.

Constant Value: 769 (0x00000301)

US_GVWR_CLASS_1_CV

public static final int US_GVWR_CLASS_1_CV

Represents Class 1 trucks following the US GVWR classification of commercial vehicles. This is classified under "Light duty" vehicles by the US Federal Highway Association.

Constant Value: 1024 (0x00000400)

US_GVWR_CLASS_2_CV

public static final int US_GVWR_CLASS_2_CV

Represents Class 2 trucks following the US GVWR classification of commercial vehicles. This is classified under "Light duty" vehicles by the US Federal Highway Association.

Constant Value: 1025 (0x00000401)

US_GVWR_CLASS_3_CV

public static final int US_GVWR_CLASS_3_CV

Represents Class 3 trucks following the US GVWR classification of commercial vehicles. This is classified under "Medium duty" vehicles by the US Federal Highway Association.

Constant Value: 1026 (0x00000402)

US_GVWR_CLASS_4_CV

public static final int US_GVWR_CLASS_4_CV

Represents Class 4 trucks following the US GVWR classification of commercial vehicles. This is classified under "Medium duty" vehicles by the US Federal Highway Association.

Constant Value: 1027 (0x00000403)

US_GVWR_CLASS_5_CV

public static final int US_GVWR_CLASS_5_CV

Represents Class 5 trucks following the US GVWR classification of commercial vehicles. This is classified under "Medium duty" vehicles by the US Federal Highway Association.

Constant Value: 1028 (0x00000404)

US_GVWR_CLASS_6_CV

public static final int US_GVWR_CLASS_6_CV

Represents Class 6 trucks following the US GVWR classification of commercial vehicles. This is classified under "Medium duty" vehicles by the US Federal Highway Association.

Constant Value: 1029 (0x00000405)

US_GVWR_CLASS_7_CV

public static final int US_GVWR_CLASS_7_CV

Represents Class 7 trucks following the US GVWR classification of commercial vehicles. This is classified under "Heavy duty" vehicles by the US Federal Highway Association.

Constant Value: 1030 (0x00000406)

US_GVWR_CLASS_8_CV

public static final int US_GVWR_CLASS_8_CV

Represents Class 8 trucks following the US GVWR classification of commercial vehicles. This is classified under "Heavy duty" vehicles by the US Federal Highway Association.

Constant Value: 1031 (0x00000407)

Public methods