modelRetention
TypeScriptget modelRetention(): SpeechAnalyzer_Options_ModelRetentionSwift declarationlet modelRetention: SpeechAnalyzer.Options.ModelRetentionThe analyzer's model caching strategy.
struct · iOS 26.0+ · SDK 27.1
struct OptionsAnalysis processing options.
get modelRetention(): SpeechAnalyzer_Options_ModelRetentionSwift declarationlet modelRetention: SpeechAnalyzer.Options.ModelRetentionThe analyzer's model caching strategy.
get ignoresResourceLimits(): booleanSwift declarationlet ignoresResourceLimits: BoolA Boolean value that indicates whether this analyzer ignores predefined system resource limits.
static initPriorityModelRetentionIgnoresResourceLimits(priority: SDKHandle, modelRetention: SpeechAnalyzer_Options_ModelRetention, ignoresResourceLimits: boolean): SpeechAnalyzer_OptionsSwift declarationinit(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.
static initPriorityModelRetention(priority: SDKHandle, modelRetention: SpeechAnalyzer_Options_ModelRetention): SpeechAnalyzer_OptionsSwift declarationinit(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 priority(): SDKHandleSwift declarationlet priority: TaskPriorityThe 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.
No declarations were skipped in this snapshot.