public enum VehicleDataResultCode extends Enum<VehicleDataResultCode>
| Enum Constant and Description |
|---|
DATA_ALREADY_SUBSCRIBED
The vehicle data item is already subscribed.
|
DATA_NOT_SUBSCRIBED
The vehicle data item cannot be unsubscribed because it is not currently subscribed.
|
DISALLOWED
This vehicle data item is not allowed for this app .The request is not authorized in local policies.
|
IGNORED
The request for this item is ignored because it is already in progress
|
INVALID_ID
The ECU ID referenced is not a valid ID on the bus / system.
|
SUCCESS
Individual vehicle data item / DTC / DID request or subscription successful
|
TRUNCATED_DATA
DTC / DID request successful, however, not all active DTCs or full contents of DID location available
|
USER_DISALLOWED
The user has not granted access to this type of vehicle data item at this time.
|
VEHICLE_DATA_NOT_AVAILABLE
The requested vehicle data item / DTC / DID is not currently available or responding on the bus / system.
|
| Modifier and Type | Method and Description |
|---|---|
static VehicleDataResultCode |
valueForString(String value) |
static VehicleDataResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleDataResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleDataResultCode SUCCESS
public static final VehicleDataResultCode TRUNCATED_DATA
public static final VehicleDataResultCode DISALLOWED
public static final VehicleDataResultCode USER_DISALLOWED
public static final VehicleDataResultCode INVALID_ID
public static final VehicleDataResultCode VEHICLE_DATA_NOT_AVAILABLE
public static final VehicleDataResultCode DATA_ALREADY_SUBSCRIBED
public static final VehicleDataResultCode DATA_NOT_SUBSCRIBED
public static final VehicleDataResultCode IGNORED
public static VehicleDataResultCode[] values()
for (VehicleDataResultCode c : VehicleDataResultCode.values()) System.out.println(c);
public static VehicleDataResultCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static VehicleDataResultCode valueForString(String value)