Beispiel #1
0
 // Creates a banner of the given type at the given position. This method requires an adUnitId and you must be updated to the new AdMob system.
 public static void createBanner(string adUnitId, AdMobBannerType bannerType, AdMobAdPosition position)
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         _adMobCreateBanner(adUnitId, (int)bannerType, (int)position);
     }
 }
 // Creates a banner of the given type at the given position
 public static void createBanner( AdMobBannerType bannerType, AdMobAdPosition position )
 {
     if( Application.platform == RuntimePlatform.IPhonePlayer )
         _adMobCreateBanner( (int)bannerType, (int)position );
 }
 // Creates a banner of the given type at the given position. This method does not take an adUnitId and will work with legacy AdMob accounts.
 public static void createBanner( AdMobBannerType bannerType, AdMobAdPosition position )
 {
     createBanner( null, bannerType, position );
 }
Beispiel #4
0
 // Creates a banner of the given type at the given position. This method does not take an adUnitId and will work with legacy AdMob accounts.
 public static void createBanner(AdMobBannerType bannerType, AdMobAdPosition position)
 {
     createBanner(null, bannerType, position);
 }
Beispiel #5
0
 // Creates a banner of the given type at the given position
 public void createBanner(AdMobBannerType bannerType, AdMobAdPosition position)
 {
     AdMobBinding.createBanner(bannerType, position);
 }