[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:
Родитель
9b7cc6cbbe
Коммит
81c9ae4510
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче