[StoreKit] Remove unsupported SKAdNetwork code from .NET. (#13268)

This commit is contained in:
Rolf Bjarne Kvinge 2021-11-08 08:55:32 +01:00 коммит произвёл GitHub
Родитель 6af32cbfbd
Коммит 39e06c5a4f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 6 удалений

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

@ -14,14 +14,10 @@ using System.Runtime.Versioning;
using Foundation;
using ObjCRuntime;
#if TVOS && !XAMCORE_4_0
#if TVOS && !NET
namespace StoreKit {
[Obsolete ("Not usable from tvOS and will be removed in the future.")]
#if NET
[UnsupportedOSPlatform ("tvos")]
#else
[Unavailable (PlatformName.TvOS)]
#endif
public class SKAdNetwork : NSObject {
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
@ -41,4 +37,4 @@ namespace StoreKit {
public static void RegisterAppForAdNetworkAttribution () => throw new NotSupportedException ();
}
}
#endif
#endif // TVOS && !NET