Contents

alternatives

All the alternative interpretations of the audio in this range. The interpretations are in descending order of likelihood.

Declaration

let alternatives: [AttributedString]

Discussion

The array will not be empty, but may contain an empty string, indicating an alternative where the audio has no transcription.

To receive alternatives, set the SpeechTranscriber.ReportingOption.alternativeTranscriptions option.

See Also

Getting transcriptions