Skip to content
Merged
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
22 changes: 22 additions & 0 deletions src/avfoundation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -7954,6 +7957,10 @@ interface AVCapturePhotoSettings : NSCopying

[NullAllowed, Export ("previewPhotoFormat", ArgumentSemantic.Copy)]
NSDictionary<NSString, NSObject> PreviewPhotoFormat { get; set; }

[iOS (10, 2)]
[Export ("autoDualCameraFusionEnabled")]
bool AutoDualCameraFusionEnabled { [Bind ("isAutoDualCameraFusionEnabled")] get; set; }
}

#if !MONOMAC
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -8107,6 +8118,11 @@ interface AVCapturePhotoOutput
[Export ("setPreparedPhotoSettingsArray:completionHandler:")]
[Async]
void SetPreparedPhotoSettings (AVCapturePhotoSettings[] preparedPhotoSettingsArray, [NullAllowed] Action<bool, NSError> completionHandler);

[iOS (10, 2)]
[Export ("dualCameraFusionSupported")]
bool DualCameraFusionSupported { [Bind ("isDualCameraFusionSupported")] get; }

}
#endif

Expand Down Expand Up @@ -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]
Expand Down