Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
        /// <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);
        }
Esempio n. 3
0
 /// <summary>
 /// Load the splash Ad asynchronously and notice on listener.
 /// </summary>
 public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener)
 {
     BUExpressSplashAd.LoadSplashAd(adSlot, listener, -1);
 }
Esempio n. 4
0
 /// <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);
 }
Esempio n. 5
0
 public SplashAdListener(ISplashAdListener listener)
     : base("com.bytedance.sdk.openadsdk.TTAdNative$SplashAdListener")
 {
     this.listener = listener;
 }
Esempio n. 6
0
 /// <summary>
 /// Load the splash Ad asynchronously and notice on listener.
 /// </summary>
 public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener)
 {
 }
Esempio n. 7
0
 /// <summary>
 /// Load the splash Ad asynchronously and notice on listener with
 /// specify timeout.
 /// </summary>
 public void LoadExpressSplashAd(
     AdSlot adSlot, ISplashAdListener listener, int timeOut)
 {
 }
Esempio n. 8
0
 /// <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");
 }
Esempio n. 9
0
 /// <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");
 }