One Logo Pool Ball
Speech · IOS API REFERENCE

SpeechAnalyzer.Options

struct · iOS 26.0+ · SDK 27.1

struct Options

Analysis processing options.

Members (5)

get · iOS 26.0+

modelRetention

TypeScript
get modelRetention(): SpeechAnalyzer_Options_ModelRetention
Swift declaration
let modelRetention: SpeechAnalyzer.Options.ModelRetention

The analyzer's model caching strategy.

get · iOS 27.0+

ignoresResourceLimits

TypeScript
get ignoresResourceLimits(): boolean
Swift declaration
let ignoresResourceLimits: Bool

A Boolean value that indicates whether this analyzer ignores predefined system resource limits.

init · iOS 27.0+

init

TypeScript
static initPriorityModelRetentionIgnoresResourceLimits(priority: SDKHandle, modelRetention: SpeechAnalyzer_Options_ModelRetention, ignoresResourceLimits: boolean): SpeechAnalyzer_Options
Swift declaration
init(priority: TaskPriority, modelRetention: SpeechAnalyzer.Options.ModelRetention, ignoresResourceLimits: Bool)

Creates a structure containing analysis processing options. - Warning: When setting `ignoresResourceLimits` to `true`, test your app on a variety of devices under a variety of scenarios to experimentally determine how many analyzers you can reliably create and expect to function. Consider how to recover in the event one or more analyzers fail. - Parameters: - priority: A priority to apply to processing work. - modelRetention: A model caching strategy. - ignoresResourceLimits: If `true`, the analyzer and its modules' resources will not be counted against the predefined system resource limits.

init · iOS 26.0+

init

TypeScript
static initPriorityModelRetention(priority: SDKHandle, modelRetention: SpeechAnalyzer_Options_ModelRetention): SpeechAnalyzer_Options
Swift declaration
init(priority: TaskPriority, modelRetention: SpeechAnalyzer.Options.ModelRetention)

Creates a structure containing analysis processing options. - Parameters: - priority: A priority to apply to processing work. - modelRetention: A model caching strategy.

get · iOS 26.0+

priority

TypeScript
get priority(): SDKHandle
Swift declaration
let priority: TaskPriority

The priority of analysis processing work. This property determines the priority of most, but not all, processing work. You should also call the methods of `SpeechAnalyzer` and other classes from a `Task` or thread with the desired priority.

Skipped declarations

No declarations were skipped in this snapshot.

All Speech types →