Apple Event Selectors
The Speech Recognition Manager defines a number of selectors that you can use to handle recognition notifications in your Apple events handler.
enum {
kAESpeechSuite = 'sprc'
};
Constant descriptions
kAESpeechSuite
- The Apple event suite for speech recognition events.
enum {
kAESpeechDetected = 'srbd',
kAESpeechDone = 'srsd'
};
Constant descriptions
kAESpeechDetected
- The message ID for a speech-detected event.
kAESpeechDone
- The message ID for a speech-done event.
enum {
keySRRecognizer = 'krec',
keySRSpeechResult = 'kspr',
keySRSpeechStatus = 'ksst'
};
Constant descriptions
keySRRecognizer
- The ID for the recognizer parameter.
keySRSpeechResult
- The ID for the recognition result parameter.
keySRSpeechStatus
- The ID for the speech status parameter, which is of type
typeShortInteger.
enum {
typeSRRecognizer = 'trec',
typeSRSpeechResult = 'tspr'
};
Constant descriptions
typeSRRecognizer
- The type for the recognizer parameter.
typeSRSpeechResult
- The type for the recognition result parameter.