diff options
author | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-12-30 20:59:04 +0800 |
commit | e9ea621b93fbb58d9edfca8375918791637bbd52 (patch) | |
tree | 19ce3b1c1f2d51eda6878c9d0f2c9edc27f13650 /Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs |
+init
Diffstat (limited to 'Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs')
-rw-r--r-- | Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs b/Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs new file mode 100644 index 0000000..96f2d37 --- /dev/null +++ b/Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs @@ -0,0 +1,40 @@ +using System; +using GoogleMobileAds.Api; + +namespace GoogleMobileAds.Common +{ + public interface IBannerClient + { + event EventHandler<EventArgs> OnAdLoaded; + + event EventHandler<AdFailedToLoadEventArgs> OnAdFailedToLoad; + + event EventHandler<EventArgs> OnAdOpening; + + event EventHandler<EventArgs> OnAdClosed; + + event EventHandler<EventArgs> OnAdLeavingApplication; + + void CreateBannerView(string adUnitId, AdSize adSize, AdPosition position); + + void CreateBannerView(string adUnitId, AdSize adSize, int x, int y); + + void LoadAd(AdRequest request); + + void ShowBannerView(); + + void HideBannerView(); + + void DestroyBannerView(); + + float GetHeightInPixels(); + + float GetWidthInPixels(); + + void SetPosition(AdPosition adPosition); + + void SetPosition(int x, int y); + + string MediationAdapterClassName(); + } +} |