A textual representation of the given speech it its entirety, as recognized by the speech recognizer.
- iOS 10.0+
- macOS 10.15+
- Mac Catalyst 13.0+
SFTranscription 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 (
You don’t create an
SFTranscription directly. Instead, you retrieve it from an
SFSpeech 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
recognition method. When the task is complete, the speech recognizer sends an
SFSpeech instance to your
result closure. Alternatively, you can use the speech recognizer’s
recognition method to start a speech recognition task. When the task is complete, the speech recognizer uses your
SFSpeech to send a
SFSpeech by using the delegate’s
SFTranscription represents only a potential version of the speech. It might not be an accurate representation of the utterances.