using System; using Chartboost.Mediation.Adapters; using Chartboost.Mediation.Pangle.Common; using Chartboost.Mediation.Pangle.Default; namespace Chartboost.Mediation.Pangle { /// public static class PangleAdapter { internal static IPangleAdapter Instance = new PangleDefault(); /// /// The partner adapter Unity version. /// public const string AdapterUnityVersion = "5.3.1"; /// public static string AdapterNativeVersion => Instance.AdapterNativeVersion; /// public static string PartnerSDKVersion => Instance.PartnerSDKVersion; /// public static string PartnerIdentifier => Instance.PartnerIdentifier; /// public static string PartnerDisplayName => Instance.PartnerDisplayName; /// [Obsolete("This method is no longer supported and will be removed in a future release. Use SetPAConsentOverride instead.")] public static void SetGDPRConsentOverride(PangleGDPRConsentType gdprConsent) => Instance.SetGDPRConsentOverride(gdprConsent); /// // ReSharper disable once InconsistentNaming public static void SetPAConsentOverride(PanglePAConsentType paConsentType) => Instance.SetPAConsentOverride(paConsentType); /// [Obsolete("This method is no longer supported and will be removed in a future release. Use SetPAConsentOverride instead.")] public static void SetDoNotSellOverride(PangleDoNotSellType doNotSellType) => Instance.SetDoNotSellOverride(doNotSellType); } }