blob: 7d8330d0ac6e2c767009d977dc83844ec9fa33e7 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
package com.smartdevicelink.proxy.rpc.enums;
/**
* Contains information about TTS capabilities on the SDL platform.
*
* @since SmartDeviceLink 1.0
*/
public enum SpeechCapabilities {
/**
* The SDL platform can speak text phrases.
*
* @since SmartDeviceLink 1.0
*/
TEXT,
/**
* The SDL platform can interpret and speak LHPLUS phonemes
*/
SAPI_PHONEMES,
/**
* The SDL platform can interpret and speak LHPLUS phonemes
*/
LHPLUS_PHONEMES,
/**
* The SDL platform can play pre-recorded sounds as part of a TTS operation.<p>(e.g. Speak, Alert, PerformInteraction, etc.).</p>
*/
PRE_RECORDED,
/**
* The SDL platform can play the prerecorded sound of 1 second of silence (i.e. no sound at all).
*/
SILENCE,
/**
* The SDL platform can play audio files in conjunction with/without TTS text.
*/
FILE;
/**
* Convert String to SpeechCapabilities
* @param value String
* @return SpeechCapabilities
*/
public static SpeechCapabilities valueForString(String value) {
try{
return valueOf(value);
}catch(Exception e){
return null;
}
}
}
|