[AVFoundation] Remove the AVAssetsDownloadTaskKeys and AVAssetDownloadOptions API in .NET for tvOS. (#14233)

These API were never valid for tvOS, and now we can completely remove them in .NET.
This commit is contained in:
Rolf Bjarne Kvinge 2022-02-24 22:58:01 +01:00 коммит произвёл GitHub
Родитель 83136c4507
Коммит d414aa2eb1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 8 добавлений и 4 удалений

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

@ -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; }

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

@ -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