init(locale:transcriptionOptions:reportingOptions:attributeOptions:)
Creates a general-purpose transcriber.
Declaration
convenience init(locale: Locale, transcriptionOptions: Set<SpeechTranscriber.TranscriptionOption>, reportingOptions: Set<SpeechTranscriber.ReportingOption>, attributeOptions: Set<SpeechTranscriber.ResultAttributeOption>)Parameters
- locale:
A locale indicating a spoken and written language or script.
- transcriptionOptions:
A selection of options relating to the text of the transcription.
- reportingOptions:
A selection of options relating to the transcriber’s result delivery.
- attributeOptions:
A selection of options relating to the attributes of the transcription.