SwiftstructIntelligenceFlowContext

struct IntelligenceFlowContext.ContextItem.OnScreenContent

Structure

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

inherits{}

Members 3

  1. fieldvar content: IntelligenceFlowContext.ContextItem.OnScreenContent.Content
  2. fieldvar onScreenMetadata: IntelligenceFlowContext.ContextItem.OnScreenMetadata
  3. initinit(content: IntelligenceFlowContext.ContextItem.OnScreenContent.Content, onScreenMetadata: IntelligenceFlowContext.ContextItem.OnScreenMetadata) -> IntelligenceFlowContext.ContextItem.OnScreenContent
struct IntelligenceFlowContext.ContextItem.OnScreenContent {
    enum Content {
        enum CodingKeys {
            case document
            case image
        }
        enum DocumentCodingKeys {
            case _0
        }
        enum ImageCodingKeys {
            case _0
        }
        case document(IntelligenceFlowContext.ContextItem.OnScreenContent.Document)
        case image(IntelligenceFlowContext.ContextItem.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)
    }
    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?)
    }
    enum CodingKeys {
        case content
        case onScreenMetadata
    }
    var content: IntelligenceFlowContext.ContextItem.OnScreenContent.Content
    var onScreenMetadata: IntelligenceFlowContext.ContextItem.OnScreenMetadata

    init(content: IntelligenceFlowContext.ContextItem.OnScreenContent.Content, onScreenMetadata: IntelligenceFlowContext.ContextItem.OnScreenMetadata)
}