Exemple #1
0
 private void onClickInterstitial()
 {
     if (AdmobManager.IsInterstitialLoaded())
     {
         AdmobManager.ShowInterstitial();
     }
 }
Exemple #2
0
    //public Text text


    public void OnButtonPressed(int id)
    {
        switch (id)
        {
        case 0:
            admob.ShowBannerRelative();
            break;

        case 1:
            admob.ShowBannerAbsolute();
            break;

        case 2:
            admob.ShowInterstitial();
            break;

        default: break;
        }
    }