blob: 96f2d372b41fbd4ad8547bdcdccdb2281959496c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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();
}
}
|