namespace GleyMobileAds
{
using System.Collections.Generic;
using UnityEngine.Events;
///
/// interface implemented by all supported advertisers
///
public interface ICustomAds
{
void InitializeAds(UserConsent consent, UserConsent ccpaConsent, List platformSettings);
bool IsRewardVideoAvailable();
void ShowRewardVideo(UnityAction CompleteMethod);
void ShowRewardVideo(UnityAction CompleteMethod);
bool IsInterstitialAvailable();
void ShowInterstitial(UnityAction InterstitialClosed);
void ShowInterstitial(UnityAction InterstitialClosed);
bool IsBannerAvailable();
void ShowBanner(BannerPosition position, BannerType bannerType, UnityAction DisplayResult);
void HideBanner();
bool BannerAlreadyUsed();
void ResetBannerUsage();
void UpdateConsent(UserConsent consent, UserConsent ccpaConsent);
}
}
public enum BannerPosition
{
TOP,
BOTTOM
}
public enum BannerType
{
Banner,
SmartBanner,
///
/// Only works for Admob
///
Adaptive
}