private static void loadAd(AdMode adMode, AdEventListener listener, bool is3D) { init(); int adModeIndex = (int)adMode; AndroidJavaObject adModeIndexInteger = new AndroidJavaObject("java.lang.Integer", adModeIndex); AndroidJavaObject is3DBoolean = new AndroidJavaObject("java.lang.Boolean", is3D); if (listener == null) { wrapper.Call ("loadAd", adModeIndexInteger); return; } wrapper.Call ("loadAd", adModeIndexInteger, new ImplementationAdEventListener (listener)); }
public static void loadAd(AdMode adMode) { loadAd (adMode, null); }
public static void loadAd(AdMode adMode, AdEventListener listener) { loadAd (adMode, listener, false); }
/// <summary> /// Initializes a new instance of AppSettings. /// </summary> /// <param name="src">Settings to clone.</param> public AppSettings(AppSettings src) { this.SettingsUrl = src.SettingsUrl; this.IsTest = src.IsTest; this.AdMode = src.AdMode; }