diff options
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(); + } +} |