diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 6c71cd500145..c5faf0acb988 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -2573,6 +2573,9 @@ interface AVAsset : NSCopying { NSString WasDefragmentedNotification { get; } #endif + [iOS (10, 3), Mac (10,12,3), TV (10, 3)] + [Export ("overallDurationHint")] + CMTime OverallDurationHint { get; } } #if MONOMAC @@ -7954,6 +7957,10 @@ interface AVCapturePhotoSettings : NSCopying [NullAllowed, Export ("previewPhotoFormat", ArgumentSemantic.Copy)] NSDictionary PreviewPhotoFormat { get; set; } + + [iOS (10, 2)] + [Export ("autoDualCameraFusionEnabled")] + bool AutoDualCameraFusionEnabled { [Bind ("isAutoDualCameraFusionEnabled")] get; set; } } #if !MONOMAC @@ -8001,6 +8008,10 @@ interface AVCaptureResolvedPhotoSettings [Export ("stillImageStabilizationEnabled")] bool IsStillImageStabilizationEnabled { [Bind ("isStillImageStabilizationEnabled")] get; } + + [iOS (10, 2)] + [Export ("dualCameraFusionEnabled")] + bool DualCameraFusionEnabled { [Bind ("isDualCameraFusionEnabled")] get; } } #if !MONOMAC @@ -8107,6 +8118,11 @@ interface AVCapturePhotoOutput [Export ("setPreparedPhotoSettingsArray:completionHandler:")] [Async] void SetPreparedPhotoSettings (AVCapturePhotoSettings[] preparedPhotoSettingsArray, [NullAllowed] Action completionHandler); + + [iOS (10, 2)] + [Export ("dualCameraFusionSupported")] + bool DualCameraFusionSupported { [Bind ("isDualCameraFusionSupported")] get; } + } #endif @@ -8242,8 +8258,14 @@ enum AVCaptureDeviceType { [Field ("AVCaptureDeviceTypeBuiltInTelephotoCamera")] BuiltInTelephotoCamera, + [Introduced (PlatformName.iOS, 10, 0, message: "Use BuiltInDualCamera instead")] + [Deprecated (PlatformName.iOS, 10, 2, message: "Use BuiltInDualCamera instead")] [Field ("AVCaptureDeviceTypeBuiltInDuoCamera")] BuiltInDuoCamera, + + [iOS (10, 2)] + [Field ("AVCaptureDeviceTypeBuiltInDualCamera")] + BuiltInDualCamera, } [NoWatch]