SwiftstructSpeech

struct Speech.SpeechAnalyzer.Options

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 8

  1. fieldlet ignoresResourceLimits: Bool
  2. fieldlet modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention
  3. fieldlet powerContext: Speech.SpeechAnalyzer.Options.PowerContext?
  4. fieldlet priority: TaskPriority
  5. initinit(priority: TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention, powerContext: Speech.SpeechAnalyzer.Options.PowerContext?) -> Speech.SpeechAnalyzer.Options
  6. initinit(priority: TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention, ignoresResourceLimits: Bool, powerContext: Speech.SpeechAnalyzer.Options.PowerContext?) -> Speech.SpeechAnalyzer.Options
  7. initinit(priority: TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention, ignoresResourceLimits: Bool) -> Speech.SpeechAnalyzer.Options
  8. initinit(priority: TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention) -> Speech.SpeechAnalyzer.Options
struct Speech.SpeechAnalyzer.Options {
    enum ModelRetention {
        case whileInUse
        case lingering
        case processLifetime
        case lingeringWithKeepANEModelLoaded
        case processLifetimeWithKeepANEModelLoaded

        init?(xpcRawValue: Swift.Int)

        var xpcRawValue: Swift.Int {
            get
        }
    }
    struct PowerContext {
        let ane: Swift.String
        let cpu: Swift.String
        let gpu: Swift.String

        init(ane: Swift.String, cpu: Swift.String, gpu: Swift.String)
    }
    let priority: Swift.TaskPriority
    let modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention
    let ignoresResourceLimits: Swift.Bool
    let powerContext: Speech.SpeechAnalyzer.Options.PowerContext?

    init(priority: Swift.TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention, powerContext: Speech.SpeechAnalyzer.Options.PowerContext?)
    init(priority: Swift.TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention, ignoresResourceLimits: Swift.Bool, powerContext: Speech.SpeechAnalyzer.Options.PowerContext?)
    init(priority: Swift.TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention, ignoresResourceLimits: Swift.Bool)
    init(priority: Swift.TaskPriority, modelRetention: Speech.SpeechAnalyzer.Options.ModelRetention)
}