blob: 2245bbe71c2c7795282c521bac3c2513730f8218 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package com.smartdevicelink.proxy.rpc.enums;
/**
* Reflects the status of a binary vehicle data item.
* @since SmartDeviceLink 2.0
*
*/
public enum VehicleDataStatus {
/**
* No data available
*/
NO_DATA_EXISTS,
/**
* The vehicle item is in Off state
*/
OFF,
/**
* The vehicle item is in On state
*/
ON;
/**
* Convert String to VehicleDataStatus
* @param value String
* @return VehicleDataStatus
*/
public static VehicleDataStatus valueForString(String value) {
try{
return valueOf(value);
}catch(Exception e){
return null;
}
}
}
|