Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/vision.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@

namespace Vision {

[Partial]
interface VNUtils {
[Field ("VNVisionVersionNumber")]
double VisionVersionNumber { get; }
}

/// <summary>Enumerates errors associated with Vision requests.</summary>
[ErrorDomain ("VNErrorDomain")]
[MacCatalyst (13, 1)]
Expand Down
1 change: 1 addition & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79920,6 +79920,7 @@ P:Vision.VNTranslationalImageRegistrationRequest.Results
P:Vision.VNTranslationalImageRegistrationRequest.SupportedRevisions
P:Vision.VNTranslationalImageRegistrationRequest.WeakSupportedRevisions
P:Vision.VNUtils.NormalizedIdentityRect
P:Vision.VNUtils.VisionVersionNumber
P:Vision.VNVector.Length
P:Vision.VNVector.R
P:Vision.VNVector.SquaredLength
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# note: framework not available on watchOS

## we do not expose internal framework versions
!missing-field! VNVisionVersionNumber not bound

## called indirectly (there's a required native layer for them)
!missing-pinvoke! VNImagePointForFaceLandmarkPoint is not bound
!missing-pinvoke! VNNormalizedFaceBoundingBoxPointForLandmarkPoint is not bound
Expand Down