Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Use SFTranscriptionMBS to obtain all the recognized utterances from your audio content. An utterance is a vocalized word or group of words that represent a single meaning to the speech recognizer (SFSpeechRecognizerMBS).
Use the formattedString property to retrieve the entire transcription of utterances, or use the segments property to retrieve an individual utterance (SFTranscriptionSegmentMBS).
You don’t create an SFTranscriptionMBS directly. Instead, you retrieve it from an SFSpeechRecognitionResultMBS instance. The speech recognizer sends a speech recognition result to your app in one of two ways, depending on how your app started a speech recognition task.
You can start a speech recognition task by using the speech recognizer’s recognitionTaskWithRequest method. When the task is complete, the speech recognizer sends an SFSpeechRecognitionResult instance to your resultHandler closure. Alternatively, you can use the speech recognizer’s recognitionTaskWithRequest method to start a speech recognition task. When the task is complete, the speech recognizer uses events to send a SFSpeechRecognitionResultMBS by using the TaskDidFinishRecognition event.
An SFTranscriptionMBS represents only a potential version of the speech. It might not be an accurate representation of the utterances.
Requires MacOS 10.15 or later.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
This class has no sub classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
SFSpeechURLRecognitionRequestMBS - SFTranscriptionSegmentMBS