![]() |
Listen Key Modes |
Header: SpeechRecognition.h |
enum { kSRUseToggleListen = 0, kSRUsePushToTalk = 1 };
The recognizer interprets presses on the listen key as a toggle to turn listening on or off.
The recognizer listens only when the listen key is held down.
You can get (but not set) a recognizers listen key mode by accessing its property of type kSRListenKeyMode. That propertys value is a 2-byte unsigned integer that determines whether the listen key operates in push-to-talk or toggle-listening mode. The Speech Recognition Manager defines these constants for listen key modes.
© 2000 Apple Computer, Inc. (Last Updated 7/10/2000)