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(AdEventListener listener) { loadAd(AdMode.AUTOMATIC, listener); }
public static void loadAd(AdMode adMode, AdEventListener listener) { loadAd(adMode, listener, false); }
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 ImplementationAdEventListener(AdEventListener listener) : base("com.startapp.android.publish.AdEventListener") { this.listener = listener; }
public static void loadAd(AdMode adMode, AdEventListener listener) { loadAd (adMode, listener, false); }
public static void loadAd(AdEventListener listener) { loadAd (AdMode.AUTOMATIC, listener); }
public ImplementationAdEventListener(AdEventListener listener) : base("com.startapp.android.publish.AdEventListener") { this.listener = listener; }
public static void loadAd(AdEventListener listener) { getWrapper(); wrapper.Call("loadAd", new []{new ImplementationAdEventListener(listener)}); }
public static void loadAd(AdEventListener listener) { getWrapper(); wrapper.Call("loadAd", new [] { new ImplementationAdEventListener(listener) }); }