blob: d340e0e4cc4c245272b378be8ecda95056f948d7 (
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
|
package com.smartdevicelink.proxy.rpc.enums;
/**
* Describes different audio type options for PerformAudioPassThru
*
* @see SoftButtonCapabilities
* @see ButtonCapabilities
* @see OnButtonPress
* @since SmartDeviceLink 2.0
*/
public enum AudioType {
/**
* PCM raw audio
*
* @since SmartDeviceLink 2.0
*/
PCM;
/**
* Convert String to AudioType
* @param value String
* @return AudioType
*/
public static AudioType valueForString(String value) {
try{
return valueOf(value);
}catch(Exception e){
return null;
}
}
}
|