SwiftstructVisualActionPredictionSupport

struct VisualActionPredictionSupport.PredictedAction

Structure

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

Members 10

  1. fieldlet canonicalIdentifier: String
  2. fieldlet confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel
  3. fieldlet glyphName: String
  4. fieldlet id: Foundation.UUID
  5. fieldlet localizedTitle: String
  6. fieldlet readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState
  7. fieldlet source: VisualActionPredictionSupport.PredictedAction.Source
  8. initinit(id: Foundation.UUID, canonicalIdentifier: String, source: VisualActionPredictionSupport.PredictedAction.Source, localizedTitle: String, confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel, readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState) -> VisualActionPredictionSupport.PredictedAction
  9. initinit(id: Foundation.UUID, canonicalIdentifier: String, source: VisualActionPredictionSupport.PredictedAction.Source, localizedTitle: String, glyphName: String, confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel, readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState) -> VisualActionPredictionSupport.PredictedAction
  10. typealiastypealias ID = Foundation.UUID
struct PredictedAction {
    enum Source {
        enum CodingKeys {
            case systemTool
            case customAction
            case visualSearch
            case openEntity
            case systemToolWithIdentity
        }
        enum SystemToolCodingKeys {
            case bundleIdentifier
            case isFirstParty
        }
        enum CustomActionCodingKeys {
            case identity
        }
        enum VisualSearchCodingKeys {
            case bundleIdentifier
        }
        enum OpenEntityCodingKeys {
            case target
        }
        enum SystemToolWithIdentityCodingKeys {
            case identity
            case bundleIdentifier
            case isFirstParty
        }
        case systemTool(bundleIdentifier: Swift.String, isFirstParty: Swift.Bool)
        case customAction(identity: VisualActionPredictionSupport.CustomActionIdentity)
        case visualSearch(bundleIdentifier: Swift.String)
        case openEntity(target: VisualActionPredictionSupport.EntityDescription)
        case systemToolWithIdentity(identity: VisualActionPredictionSupport.CustomActionIdentity, bundleIdentifier: Swift.String, isFirstParty: Swift.Bool)
    }
    enum ConfidenceLevel {
        enum CodingKeys {
            case normal
            case high
        }
        enum NormalCodingKeys {}
        enum HighCodingKeys {}
        case normal
        case high
    }
    struct ReadinessState {
        enum CodingKeys {
            case prefersStructuredExtraction
            case requiresStructuredExtraction
            case requiresPixelBuffer
        }
        let prefersStructuredExtraction: Swift.Bool
        let requiresStructuredExtraction: Swift.Bool
        let requiresPixelBuffer: Swift.Bool

        init(prefersStructuredExtraction: Swift.Bool, requiresStructuredExtraction: Swift.Bool, requiresPixelBuffer: Swift.Bool)

        var isReady: Swift.Bool {
            get
        }
        var needsPixelBuffer: Swift.Bool {
            get
        }
        var needsStructuredExtraction: Swift.Bool {
            get
        }
    }
    enum CodingKeys {
        case id
        case canonicalIdentifier
        case source
        case localizedTitle
        case glyphName
        case confidenceLevel
        case readinessState
    }
    let id: Foundation.UUID
    let canonicalIdentifier: Swift.String
    let source: VisualActionPredictionSupport.PredictedAction.Source
    let localizedTitle: Swift.String
    let glyphName: Swift.String
    let confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel
    let readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState

    init(id: Foundation.UUID, canonicalIdentifier: Swift.String, source: VisualActionPredictionSupport.PredictedAction.Source, localizedTitle: Swift.String, confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel, readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState)
    init(id: Foundation.UUID, canonicalIdentifier: Swift.String, source: VisualActionPredictionSupport.PredictedAction.Source, localizedTitle: Swift.String, glyphName: Swift.String, confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel, readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState)
}