From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- .../GoogleMobileAds/Common/IBannerClient.cs | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs (limited to 'Client/Assembly-CSharp/GoogleMobileAds/Common/IBannerClient.cs') 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 OnAdLoaded; + + event EventHandler OnAdFailedToLoad; + + event EventHandler OnAdOpening; + + event EventHandler OnAdClosed; + + event EventHandler 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(); + } +} -- cgit v1.1-26-g67d0