Platforms to show: All Mac Windows Linux Cross-Platform

SFTranscriptionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A textual representation of the given speech it its entirety, as recognized by the speech recognizer.

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.

Some methods using this class:

Some properties using for this class:

Some events using this class:

Some examples using this class:

Blog Entries

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

SFSpeechURLRecognitionRequestMBS   -   SFTranscriptionSegmentMBS

💬 Ask a question or report a problem
The biggest plugin in space...