[avfoundation] Fix breaking changes (apidiff) (#2664)

This commit is contained in:
Sebastien Pouliot 2017-09-12 21:55:58 -04:00 коммит произвёл GitHub
Родитель a887676f2d
Коммит 1e3129a45c
2 изменённых файлов: 9 добавлений и 1 удалений

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

@ -68,6 +68,14 @@ namespace XamCore.AVFoundation {
#endif
#if !XAMCORE_4_0
partial class AVCaptureInputPort {
[Obsolete ("Valid instance of this type cannot be directly created.")]
public AVCaptureInputPort ()
{
}
}
partial class AVAudioChannelLayout {
[Obsolete ("Valid instance of this type cannot be directly created.")]

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

@ -2834,7 +2834,7 @@ namespace XamCore.AVFoundation {
#if !XAMCORE_4_0
[Obsolete ("Use 'GetMetadataForFormat' with enum values AVMetadataFormat.")]
[Wrap ("GetMetadataForFormat (new NSString (format))")]
[Wrap ("GetMetadataForFormat (new NSString (format))", IsVirtual = true)]
AVMetadataItem [] MetadataForFormat (string format);
#endif
[Export ("metadataForFormat:")]