SwiftstructVisualActionPredictionSupport
struct VisualActionPredictionSupport.PredictedAction
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.Identifiable
Members 10
- field
let canonicalIdentifier: String - field
let confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel - field
let glyphName: String - field
let id: Foundation.UUID - field
let localizedTitle: String - field
let readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState - field
let source: VisualActionPredictionSupport.PredictedAction.Source - init
init(id: Foundation.UUID, canonicalIdentifier: String, source: VisualActionPredictionSupport.PredictedAction.Source, localizedTitle: String, confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel, readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState) -> VisualActionPredictionSupport.PredictedAction - init
init(id: Foundation.UUID, canonicalIdentifier: String, source: VisualActionPredictionSupport.PredictedAction.Source, localizedTitle: String, glyphName: String, confidenceLevel: VisualActionPredictionSupport.PredictedAction.ConfidenceLevel, readinessState: VisualActionPredictionSupport.PredictedAction.ReadinessState) -> VisualActionPredictionSupport.PredictedAction - typealias
typealias ID = Foundation.UUID
Header
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) }