A demo of a speech recognizer that can continue voice recognition after switching to the background will callin handling
Open the project file with XCode and run it directly without any third-party dependencies.
-
Encapsulation of
SFSpeechRecognizer: The recognizer is wrapped to seamlessly integrate the recording functionality ofAVAudioEnginewith the speech recognition capabilities ofSFSpeechRecognizer, enhancing user-friendliness. -
Unified State Changes and Exception Handling: The state changes during the speech recognition process and exception handling are consolidated and handled uniformly, relieving the developer from the need to implement additional procedures.
-
Automated Call Handling: Streamlining incoming calls, the recognizer can automatically pause and resume both recording and speech recognition processes, ensuring a seamless user experience.
Video presentation: