/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { var androidListener = new SplashAdListener(listener); this.adNative.Call( "loadSplashAd", adSlot.Handle, androidListener, timeOut); }
/// <summary> /// Load the splash Ad. /// </summary> internal static void LoadSplashAd(AdSlot adSlot, ISplashAdListener listener, int timeOut) { var context = loadContextID++; loadListeners.Add(context, listener); UnionPlatform_SplashAd_Load( adSlot.CodeId, timeOut, SplashAd_OnErrorMethod, SplashAd_OnLoadMethod, context); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener. /// </summary> public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener) { BUExpressSplashAd.LoadSplashAd(adSlot, listener, -1); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadExpressSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { BUExpressSplashAd.LoadSplashAd(adSlot, listener, timeOut); }
public SplashAdListener(ISplashAdListener listener) : base("com.bytedance.sdk.openadsdk.TTAdNative$SplashAdListener") { this.listener = listener; }
/// <summary> /// Load the splash Ad asynchronously and notice on listener. /// </summary> public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener) { }
/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadExpressSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { }
/// <summary> /// Load the splash Ad asynchronously and notice on listener. /// </summary> public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener) { listener.OnError(0, "Not Support on this platform"); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { listener.OnError(0, "Not Support on this platform"); }