Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Monetization/IMonetizationPlatform.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

24 lines
784 B
C#

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