[AVFoundation] Adds missing Xcode9 API. (#2811)

AVCapturePhotoOutput:

* Adds missing members `DepthDataDeliverySupported` and `DepthDataDeliveryEnabled`
  from `AVCapturePhotoOutputDepthDataDeliverySupport` category.

AVCaptureDevice:

* Adds missing members `ActiveDepthDataFormat`, `MinAvailableVideoZoomFactor` and
  `MaxAvailableVideoZoomFactor` from `AVCaptureDeviceDepthSupport` category.
This commit is contained in:
Alex Soto 2017-09-29 11:14:07 -05:00 коммит произвёл GitHub
Родитель 9b7cc6cbbe
Коммит 81c9ae4510
1 изменённых файлов: 23 добавлений и 0 удалений

Просмотреть файл

@ -9086,6 +9086,15 @@ namespace XamCore.AVFoundation {
[Export ("dualCameraFusionSupported")]
bool DualCameraFusionSupported { [Bind ("isDualCameraFusionSupported")] get; }
// From AVCapturePhotoOutput (AVCapturePhotoOutputDepthDataDeliverySupport) Category
[iOS (11,0)]
[Export ("depthDataDeliverySupported")]
bool DepthDataDeliverySupported { [Bind ("isDepthDataDeliverySupported")] get; }
[iOS (11,0)]
[Export ("depthDataDeliveryEnabled")]
bool DepthDataDeliveryEnabled { [Bind ("isDepthDataDeliveryEnabled")] get; set; }
}
#endif
@ -9672,6 +9681,20 @@ namespace XamCore.AVFoundation {
[Export ("activeColorSpace", ArgumentSemantic.Assign)]
AVCaptureColorSpace ActiveColorSpace { get; set; }
// From AVCaptureDevice (AVCaptureDeviceDepthSupport) Category
[iOS (11,0)]
[Export ("activeDepthDataFormat", ArgumentSemantic.Retain), NullAllowed]
AVCaptureDeviceFormat ActiveDepthDataFormat { get; set; }
[iOS (11,0)]
[Export ("minAvailableVideoZoomFactor")]
nfloat MinAvailableVideoZoomFactor { get; }
[iOS (11,0)]
[Export ("maxAvailableVideoZoomFactor")]
nfloat MaxAvailableVideoZoomFactor { get; }
#endif
}