Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Advertisement/IBanner.cs

25 lines
936 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using System;
using UnityEngine.Advertisements.Utilities;
namespace UnityEngine.Advertisements
{
internal interface IBanner
{
IUnityLifecycleManager UnityLifecycleManager { get; }
bool IsLoaded { get; }
bool ShowAfterLoad { get; set; }
void Load(string placementId, BannerLoadOptions loadOptions);
void Show(string placementId, BannerOptions showOptions);
void Hide(bool destroy = false);
void SetPosition(BannerPosition position);
void UnityAdsBannerDidShow(string placementId, BannerOptions bannerOptions);
void UnityAdsBannerDidHide(string placementId, BannerOptions bannerOptions);
void UnityAdsBannerClick(string placementId, BannerOptions bannerOptions);
void UnityAdsBannerDidLoad(string placementId, BannerLoadOptions bannerOptions);
void UnityAdsBannerDidError(string message, BannerLoadOptions bannerOptions);
}
}