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

24 lines
784 B
C#
Raw Normal View History

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