blob: a4b8e16c295a5c5bd2b0e9a1d4e1f869cf78332f (
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
|
package com.smartdevicelink.proxy.rpc.enums;
/**
* Enumeration listing possible app service types.
*/
public enum AppServiceType {
MEDIA,
WEATHER,
NAVIGATION,
;
/**
* Convert String to AppServiceType
* @param value String
* @return AppServiceType
*/
public static AppServiceType valueForString(String value) {
try{
return valueOf(value);
}catch(Exception e){
return null;
}
}
}
|