[vision] Minor fix wrt xtro (#2551)
including some things we need to ignore manually !missing-field! VNVisionVersionNumber not bound !missing-pinvoke! VNImagePointForFaceLandmarkPoint is not bound !missing-pinvoke! VNNormalizedFaceBoundingBoxPointForLandmarkPoint is not bound
This commit is contained in:
Родитель
c49f171fb7
Коммит
ce6ae3ebb9
|
@ -46,5 +46,6 @@ namespace ObjCRuntime {
|
|||
// WatchOS 4.0
|
||||
public const string CoreBluetoothLibrary = "/System/Library/Frameworks/CoreBluetooth.framework/CoreBluetooth";
|
||||
public const string CoreMLLibrary = "/System/Library/Frameworks/CoreML.framework/CoreML";
|
||||
public const string VisionLibrary = "/System/Library/Frameworks/Vision.framework/Vision";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1031,8 +1031,13 @@ namespace XamCore.Vision {
|
|||
|
||||
[TV (11,0), Mac (10,13, onlyOn64: true), iOS (11,0)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor] // it's a designated initializer
|
||||
interface VNSequenceRequestHandler {
|
||||
|
||||
[DesignatedInitializer]
|
||||
[Export ("init")]
|
||||
IntPtr Constructor ();
|
||||
|
||||
[Export ("performRequests:onCVPixelBuffer:error:")]
|
||||
bool Perform (VNRequest [] requests, CVPixelBuffer pixelBuffer, out NSError error);
|
||||
|
||||
|
|
|
@ -205,6 +205,16 @@
|
|||
!missing-selector! +UIView::layerClass not bound
|
||||
|
||||
|
||||
# Vision
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
# non-imported headers
|
||||
|
||||
## objc runtime
|
||||
|
|
Загрузка…
Ссылка в новой задаче