// Creates a banner of the given type placed based on the position parameter
    public static void createBanner( AdMobAndroidAd type, AdMobAdPlacement placement )
    {
        if( Application.platform != RuntimePlatform.Android )
            return;

        _admobPlugin.Call( "createBanner", (int)type, (int)placement );
    }
    // Creates a banner of the given type placed based on the position parameter
    public static void createBanner(AdMobAndroidAd type, AdMobAdPlacement placement)
    {
        if (Application.platform != RuntimePlatform.Android)
        {
            return;
        }

        _admobPlugin.Call("createBanner", (int)type, (int)placement);
    }
Esempio n. 3
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, AdMobAndroidAd type, AdMobAdPlacement placement)
    {
        if (Application.platform != RuntimePlatform.Android)
        {
            return;
        }

        createBanner(adUnitId, (int)type, (int)placement);
    }
Esempio n. 4
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, AdMobAndroidAd type, AdMobAdPlacement placement)
 {
     createBanner(adUnitId, (int)type, (int)placement);
 }
Esempio n. 5
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(AdMobAndroidAd type, AdMobAdPlacement placement)
 {
     createBanner("", type, placement);
 }
Esempio n. 6
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, AdMobAndroidAd type, AdMobAdPlacement placement )
 {
     createBanner( adUnitId, (int)type, (int)placement );
 }
Esempio n. 7
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( AdMobAndroidAd type, AdMobAdPlacement placement )
 {
     createBanner( "", type, placement );
 }