diff --git a/src/avfoundation.cs b/src/avfoundation.cs index 930ae33e42..29ee02e997 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -13687,7 +13687,11 @@ namespace AVFoundation { } [NoWatch, Mac (11,3)] +#if NET + [NoTV] +#else [Obsoleted (PlatformName.TvOS, 12, 0)] +#endif [Static, Internal] interface AVAssetDownloadTaskKeys { [iOS (9,0), Mac (12,0)] @@ -13718,7 +13722,11 @@ namespace AVFoundation { [Mac (12,0)] [NoWatch] +#if NET + [NoTV] +#else [Obsoleted (PlatformName.TvOS, 12, 0)] +#endif [StrongDictionary ("AVAssetDownloadTaskKeys")] interface AVAssetDownloadOptions { NSNumber MinimumRequiredMediaBitrate { get; set; } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.ignore b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.ignore index 5cf5499904..d272e0e08a 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-AVFoundation.ignore @@ -4,9 +4,5 @@ # as per the header comments, the following enum has to be ignored on tvOS !missing-enum! AVAudioSessionIOType not bound -# removed in TV 12,0, API that used them was removed in TV 10, added obsolete attr. -!unknown-field! AVAssetDownloadTaskMediaSelectionKey bound -!unknown-field! AVAssetDownloadTaskMinimumRequiredMediaBitrateKey bound - # not used on tvOS !missing-enum! AVAudioSessionInterruptionReason not bound