SwiftstructTextUnderstanding

struct TextUnderstanding.Image

Structure

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

Members 9

  1. fieldvar documentFlags: TextUnderstanding.DocumentFlags+0x50
  2. fieldvar documentIdentifiers: TextUnderstanding.DocumentIdentifiers+0x0
  3. fieldvar ocrText: String?+0x60
  4. fieldvar representation: TextUnderstanding.Image.Representation?+0x58
  5. fieldvar representationEnvelope: TextUnderstanding.Image.RepresentationEnvelope?+0x70
  6. funcrevive(with: OS_xpc_object) throws -> ()
  7. initinit(documentIdentifiers: TextUnderstanding.DocumentIdentifiers, documentFlags: TextUnderstanding.DocumentFlags, representation: TextUnderstanding.Image.Representation, ocrText: String?) -> TextUnderstanding.Image
  8. initinit(documentIdentifiers: TextUnderstanding.DocumentIdentifiers, documentFlags: TextUnderstanding.DocumentFlags, representation: TextUnderstanding.Image.Representation?, ocrText: String) -> TextUnderstanding.Image
  9. varvar xpcData: OS_xpc_object? { get }
struct Image {
    enum Representation {
        case surface(__C.IOSurface)
    }
    enum RepresentationEnvelope {
        enum CodingKeys {
            case surface
        }
        enum SurfaceCodingKeys {}
        case surface
    }
    enum CodingKeys {
        case documentIdentifiers
        case documentFlags
        case ocrText
        case representationEnvelope
    }
    var documentIdentifiers: TextUnderstanding.DocumentIdentifiers
    var documentFlags: TextUnderstanding.DocumentFlags
    var representation: TextUnderstanding.Image.Representation?
    var ocrText: Swift.String?
    var representationEnvelope: TextUnderstanding.Image.RepresentationEnvelope?

    init(documentIdentifiers: TextUnderstanding.DocumentIdentifiers, documentFlags: TextUnderstanding.DocumentFlags, representation: TextUnderstanding.Image.Representation, ocrText: Swift.String?)
    init(documentIdentifiers: TextUnderstanding.DocumentIdentifiers, documentFlags: TextUnderstanding.DocumentFlags, representation: TextUnderstanding.Image.Representation?, ocrText: Swift.String)

    var xpcData: (any __C.OS_xpc_object)? {
        get
    }

    func revive(with: any __C.OS_xpc_object) throws
}