1 package speech.types; 3 4 import com4j.*; 5 6 public enum SpeechRecoEvents implements ComEnum { 7 SREStreamEnd(1), 8 SRESoundStart(2), 9 SRESoundEnd(4), 10 SREPhraseStart(8), 11 SRERecognition(16), 12 SREHypothesis(32), 13 SREBookmark(64), 14 SREPropertyNumChange(128), 15 SREPropertyStringChange(256), 16 SREFalseRecognition(512), 17 SREInterference(1024), 18 SRERequestUI(2048), 19 SREStateChange(4096), 20 SREAdaptation(8192), 21 SREStreamStart(16384), 22 SRERecoOtherContext(32768), 23 SREAudioLevel(65536), 24 SREPrivate(262144), 25 SREAllEvents(393215), 26 ; 27 28 private final int value; 29 SpeechRecoEvents(int value) { this.value=value; } 30 public int comEnumValue() { return value; } 31 } 32 | Popular Tags |