SwiftenumVisualIntelligenceCore

enum VisualIntelligenceCore.DetectionRequest.Annotation

Structure

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

inherits{}

Members 4

  1. casecase gmsUseCaseIdentifier(VisualIntelligenceCore.GreymatterAvailability.UseCaseIdentifier)
  2. casecase groundingResult(VisualIntelligenceCore.GroundingResult<VisualIntelligenceCore.GroundingMD12_0Descriptor>)
  3. casecase text([VisualIntelligenceCore.TextDetectorResult])
  4. varvar annotationType: VisualIntelligenceCore.DetectionRequest.Annotation.AnnotationType { get }
enum VisualIntelligenceCore.DetectionRequest.Annotation {
    enum AnnotationType {
        enum CodingKeys {
            case text
            case groundingResult
            case gmsUseCaseIdentifier
        }
        enum TextCodingKeys {}
        enum GroundingResultCodingKeys {}
        enum GmsUseCaseIdentifierCodingKeys {}
        case text
        case groundingResult
        case gmsUseCaseIdentifier

        var description: Swift.String {
            get
        }
    }
    enum CodingKeys {
        case text
        case groundingResult
        case gmsUseCaseIdentifier
    }
    enum TextCodingKeys {
        case _0
    }
    enum GroundingResultCodingKeys {
        case _0
    }
    enum GmsUseCaseIdentifierCodingKeys {
        case _0
    }
    case text([VisualIntelligenceCore.TextDetectorResult])
    case groundingResult(VisualIntelligenceCore.GroundingResult<VisualIntelligenceCore.GroundingMD12_0Descriptor>)
    case gmsUseCaseIdentifier(VisualIntelligenceCore.GreymatterAvailability.UseCaseIdentifier)

    var annotationType: VisualIntelligenceCore.DetectionRequest.Annotation.AnnotationType {
        get
    }
}