Platforms to show: All Mac Windows Linux Cross-Platform

Back to SFSpeechRecognitionTaskMBS class.

SFSpeechRecognitionTaskMBS.Cancel

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Cancels the current speech recognition task.

You can cancel recognition tasks for both prerecorded and live audio input. For example, you might cancel a task in response to a user action or because the recording was interrupted.
When canceling a task, be sure to release any resources associated with the task, such as the audio input resources you are using to capture audio samples.

SFSpeechRecognitionTaskMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

SFSpeechRecognitionTaskMBS.Finish

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Stops accepting new audio and finishes processing on the audio input that has already been accepted.

For audio buffer–based recognition, recognition does not finish until this method is called, so be sure to call it when the audio source is exhausted.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...