init(locale:preset:)
Creates a general-purpose transcriber according to a preset.
Declaration
convenience init(locale: Locale, preset: SpeechTranscriber.Preset)Parameters
- locale:
A locale indicating a spoken and written language or script.
- preset:
A structure that contains some transcriber options.