Class SFSpeech Recognition Task
A task object that you use to monitor the speech recognition progress.
iOS 10.0+ macOS 10.15+ Beta Mac Catalyst 13.0+ Beta Declaration class SFSpeechRecognitionTask :
object to determine the state of a speech recognition task, to cancel an ongoing task, or to signal the end of the task.
SFSpeech Recognition Task
You do not create speech recognition task objects directly. Instead, you receive one of these objects after calling
or recognition Task(with: result Handler:) on your recognition Task(with: delegate:)
SFSpeech Recognizer Topics Canceling a Speech Recognition Task Finishing a Speech Recognition Task func finish ()
Stops accepting new audio and finishes processing on the audio input that has already been accepted.
Monitoring Recognition Progress var error : Error?
An error object that specifies the error that occurred during a speech recognition task.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software