Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Monetization/UnsupportedPlatform.cs

49 lines
1.2 KiB
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System;
namespace UnityEngine.Monetization
{
sealed class UnsupportedPlatform : IMonetizationPlatform
{
public event EventHandler<PlacementContentReadyEventArgs> OnPlacementContentReady { add {} remove {} }
public event EventHandler<PlacementContentStateChangeEventArgs> OnPlacementContentStateChange { add {} remove {} }
public event EventHandler<UnityServicesErrorEventArgs> onError { add {} remove {} }
public string version { get; } = null;
public void Initialize(string gameId, bool testMode)
{
}
public void SetPurchasingAdapter(IPurchasingAdapter adapter)
{
}
public bool isSupported
{
get
{
return false;
}
}
public bool IsReady(string placementId)
{
return false;
}
public PlacementContent GetPlacementContent(string placementID)
{
return null;
}
public INativePromoAdapter CreateNativePromoAdapter(PromoAdPlacementContent placementContent)
{
return null;
}
public void SetMetaData(MetaData metaData)
{
}
}
}