Platforms to show: All Mac Windows Linux Cross-Platform

Back to SFSpeechRecognizerMBS class.

SFSpeechRecognizerMBS.availabilityDidChange(available as Boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you that the availability of its associated speech recognizer changed.

available: A Boolean value that indicates the new availability of the speech recognizer.

SFSpeechRecognizerMBS.didDetectSpeech(task as SFSpeechRecognitionTaskMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you when the task first detects speech in the source audio.

task: The speech recognition task (an SFSpeechRecognitionTaskMBS object) that represents the request.

SFSpeechRecognizerMBS.TaskDidFinishRecognition(task as SFSpeechRecognitionTaskMBS, recognitionResult as SFSpeechRecognitionResultMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you when the final utterance is recognized.

task: The speech recognition task (an SFSpeechRecognitionTaskMBS object) that represents the request.
recognitionResult: A recognized utterance that contains one or more transcription hypotheses in an SFSpeechRecognitionResultMBS object.

When this method is called, the delegate should expect no further information about the utterance to be reported.

SFSpeechRecognizerMBS.TaskDidFinishSuccessfully(task as SFSpeechRecognitionTaskMBS, successfully as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you when the recognition of all requested utterances is finished.

task: The speech recognition task (an SFSpeechRecognitionTaskMBS object) that represents the request.
successfully: A Boolean value that indicates whether the task was successful. When this parameter is false, use the error property of the task to get information about why the task was unsuccessful.

SFSpeechRecognizerMBS.TaskDidHypothesizeTranscription(task as SFSpeechRecognitionTaskMBS, transcription as SFTranscriptionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you that a hypothesized transcription is available.

task: The speech recognition task (an SFSpeechRecognitionTaskMBS object) that represents the request.
transcription: The hypothesized transcription in an SFTranscriptionMBS object.

This method is called for all recognitions, including partial recognitions.

SFSpeechRecognizerMBS.TaskFinishedReadingAudio(task as SFSpeechRecognitionTaskMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you when the task is no longer accepting new audio input, even if final processing is in progress.

task: The speech recognition task (an SFSpeechRecognitionTask object) that represents the request.

SFSpeechRecognizerMBS.TaskWasCancelled(task as SFSpeechRecognitionTaskMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ❌ No
Tells you that the task has been canceled.

task: The speech recognition task (an SFSpeechRecognitionTaskMBS object) that represents the request.

A speech recognition task can be canceled by the user, by your app, or by the system.

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


The biggest plugin in space...