SwiftstructIntelligenceFlowContext
struct IntelligenceFlowContext.OnScreenContent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 3
- field
var content: IntelligenceFlowContext.OnScreenContent.Content - field
var uiMetadata: IntelligenceFlowContext.OnScreenContent.UIMetadata - init
init(content: IntelligenceFlowContext.OnScreenContent.Content, uiMetadata: IntelligenceFlowContext.OnScreenContent.UIMetadata) -> IntelligenceFlowContext.OnScreenContent
Header
struct OnScreenContent { enum Content { enum CodingKeys { case document case image } enum DocumentCodingKeys { case _0 } enum ImageCodingKeys { case _0 } case document(IntelligenceFlowContext.OnScreenContent.Document) case image(IntelligenceFlowContext.OnScreenContent.Image) } struct Document { enum CodingKeys { case file case paginationInfo case entity case isWindowContentGeneratedPDF case type } var file: UIIntelligenceSupport.IntelligenceFile? var paginationInfo: UIIntelligenceSupport.IntelligenceElement.Document.PaginationInfo? var entity: ToolKit.TypedValue.EntityIdentifierValue? var isWindowContentGeneratedPDF: Swift.Bool var type: UniformTypeIdentifiers.UTType? init(file: UIIntelligenceSupport.IntelligenceFile?, paginationInfo: UIIntelligenceSupport.IntelligenceElement.Document.PaginationInfo?, entity: ToolKit.TypedValue.EntityIdentifierValue?, isWindowContentGeneratedPDF: Swift.Bool, type: UniformTypeIdentifiers.UTType?) init(file: UIIntelligenceSupport.IntelligenceFile?, paginationInfo: UIIntelligenceSupport.IntelligenceElement.Document.PaginationInfo?, entity: ToolKit.TypedValue.EntityIdentifierValue?, isWindowContentGeneratedPDF: Swift.Bool) init(file: UIIntelligenceSupport.IntelligenceFile?, paginationInfo: UIIntelligenceSupport.IntelligenceElement.Document.PaginationInfo?, entity: ToolKit.TypedValue.EntityIdentifierValue?) } struct Image { enum CodingKeys { case image case isSnapshot case entity } var image: UIIntelligenceSupport.IntelligenceImage? var isSnapshot: Swift.Bool var entity: ToolKit.TypedValue.EntityIdentifierValue? init(image: UIIntelligenceSupport.IntelligenceImage?, isSnapshot: Swift.Bool, entity: ToolKit.TypedValue.EntityIdentifierValue?) } struct UIMetadata { struct Window { enum CodingKeys { case isActive case boundingBox case fractionVisible case appProcess case intelligenceUserActivity } var isActive: Swift.Bool var boundingBox: __C.CGRect? var fractionVisible: Swift.Double? var appProcess: UIIntelligenceSupport.IntelligenceProcessInfo? var intelligenceUserActivity: UIIntelligenceSupport.IntelligenceUserActivity? init(isActive: Swift.Bool) } enum CodingKeys { case window case isSelected case isCurrentUserActivity case nestedRemoteProcesses case isContextMenuFocused } var window: IntelligenceFlowContext.OnScreenContent.UIMetadata.Window var isSelected: Swift.Bool var isCurrentUserActivity: Swift.Bool var nestedRemoteProcesses: [UIIntelligenceSupport.IntelligenceProcessInfo] var isContextMenuFocused: Swift.Bool init(window: IntelligenceFlowContext.OnScreenContent.UIMetadata.Window, isContextMenuFocused: Swift.Bool) } enum CodingKeys { case content case uiMetadata } enum EntityFormat { enum CodingKeys { case pdf case document case image } enum PdfCodingKeys {} enum DocumentCodingKeys { case _0 } enum ImageCodingKeys { case representations } case document([UniformTypeIdentifiers.UTType]) case image(representations: Swift.Set<UIIntelligenceSupport.IntelligenceImage.Representation>) case pdf } var content: IntelligenceFlowContext.OnScreenContent.Content var uiMetadata: IntelligenceFlowContext.OnScreenContent.UIMetadata init(content: IntelligenceFlowContext.OnScreenContent.Content, uiMetadata: IntelligenceFlowContext.OnScreenContent.UIMetadata) }