One Logo Pool Ball
Speech · IOS API REFERENCE

SpeechTranscriber.Preset

struct · iOS 26.0+ · SDK 27.1

struct Preset

Predefined transcriber configurations. You can configure a transcriber with a preset, or modify the values of a preset's properties and configure a transcriber with the modified values. You can also create your own presets by extending this type. It is not necessary to use a preset at all; you can also use the transcriber's designated initializer to completely customize its configuration. This example configures a transcriber according to the `timeIndexedTranscriptionWithAlternatives` preset, but adds etiquette filtering and removes alternative transcriptions: ```swift let preset = SpeechTranscriber.Preset.timeIndexedTranscriptionWithAlternatives let transcriber = SpeechTranscriber( locale: Locale.current, transcriptionOptions: preset.transcriptionOptions.union([.etiquetteReplacements]) reportingOptions: preset.reportingOptions.subtracting([.alternativeTranscriptions]) attributeOptions: preset.attributeOptions ) ``` This table lists the presets and their configurations: Preset | [volatileResults](doc:ReportingOption/volatileResults) | [fastResults](doc:ReportingOption/fastResults) | [alternativeTranscriptions](doc:ReportingOption/alternativeTranscriptions) | [audioTimeRange](doc:ResultAttributeOption/audioTimeRange) --- | --- | --- | --- | --- `transcription` | No | No | No | No `transcriptionWithAlternatives` | No | No | **Yes** | No `timeIndexedTranscriptionWithAlternatives` | No | No | **Yes** | **Yes** `progressiveTranscription` | **Yes** | **Yes** | No | No `timeIndexedProgressiveTranscription` | **Yes** | **Yes** | No | **Yes**

Members (12)

get · iOS 26.0+

transcription

TypeScript
static get transcription(): SpeechTranscriber_Preset
Swift declaration
static let transcription: SpeechTranscriber.Preset

Configuration for basic, accurate transcription.

get · iOS 26.0+

attributeOptions

TypeScript
get attributeOptions(): Array<SpeechTranscriber_ResultAttributeOption>
Swift declaration
var attributeOptions: Set<SpeechTranscriber.ResultAttributeOption>

Options relating to the attributes of the transcription appropriate for this preset.

set · iOS 26.0+

attributeOptions

TypeScript
set attributeOptions(value: Array<SpeechTranscriber_ResultAttributeOption>)
Swift declaration
var attributeOptions: Set<SpeechTranscriber.ResultAttributeOption>

Options relating to the attributes of the transcription appropriate for this preset.

get · iOS 26.0+

reportingOptions

TypeScript
get reportingOptions(): Array<SpeechTranscriber_ReportingOption>
Swift declaration
var reportingOptions: Set<SpeechTranscriber.ReportingOption>

Options relating to the transcriber's result delivery appropriate for this preset.

set · iOS 26.0+

reportingOptions

TypeScript
set reportingOptions(value: Array<SpeechTranscriber_ReportingOption>)
Swift declaration
var reportingOptions: Set<SpeechTranscriber.ReportingOption>

Options relating to the transcriber's result delivery appropriate for this preset.

init · iOS 26.0+

init

TypeScript
static init(transcriptionOptions: Array<SpeechTranscriber_TranscriptionOption>, reportingOptions: Array<SpeechTranscriber_ReportingOption>, attributeOptions: Array<SpeechTranscriber_ResultAttributeOption>): SpeechTranscriber_Preset
Swift declaration
init(transcriptionOptions: Set<SpeechTranscriber.TranscriptionOption>, reportingOptions: Set<SpeechTranscriber.ReportingOption>, attributeOptions: Set<SpeechTranscriber.ResultAttributeOption>)

Creates a preset. - Parameters: - 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.

get · iOS 26.0+

transcriptionOptions

TypeScript
get transcriptionOptions(): Array<SpeechTranscriber_TranscriptionOption>
Swift declaration
var transcriptionOptions: Set<SpeechTranscriber.TranscriptionOption>

Options relating to the text of the transcription appropriate for this preset.

set · iOS 26.0+

transcriptionOptions

TypeScript
set transcriptionOptions(value: Array<SpeechTranscriber_TranscriptionOption>)
Swift declaration
var transcriptionOptions: Set<SpeechTranscriber.TranscriptionOption>

Options relating to the text of the transcription appropriate for this preset.

get · iOS 26.0+

progressiveTranscription

TypeScript
static get progressiveTranscription(): SpeechTranscriber_Preset
Swift declaration
static let progressiveTranscription: SpeechTranscriber.Preset

Configuration for immediate transcription of live audio.

get · iOS 26.0+

transcriptionWithAlternatives

TypeScript
static get transcriptionWithAlternatives(): SpeechTranscriber_Preset
Swift declaration
static let transcriptionWithAlternatives: SpeechTranscriber.Preset

Configuration for transcription with editing suggestions.

get · iOS 26.0+

timeIndexedProgressiveTranscription

TypeScript
static get timeIndexedProgressiveTranscription(): SpeechTranscriber_Preset
Swift declaration
static let timeIndexedProgressiveTranscription: SpeechTranscriber.Preset

Configuration for immediate transcription of live audio, cross-referenced to stream time-codes.

get · iOS 26.0+

timeIndexedTranscriptionWithAlternatives

TypeScript
static get timeIndexedTranscriptionWithAlternatives(): SpeechTranscriber_Preset
Swift declaration
static let timeIndexedTranscriptionWithAlternatives: SpeechTranscriber.Preset

Configuration for transcription with editing suggestions, cross-referenced to source audio.

Skipped declarations

No declarations were skipped in this snapshot.

All Speech types →