Пример #1
0
        /// <summary>
        /// Load the full screen video Ad asynchronously and notice on listener.
        /// </summary>
        public void LoadFullScreenVideoAd(
            AdSlot adSlot, IFullScreenVideoAdListener listener)
        {
            var androidListener = new FullScreenVideoAdListener(listener);

            this.adNative.Call(
                "loadFullScreenVideoAd", adSlot.Handle, androidListener);
        }
Пример #2
0
        internal static void LoadFullScreenVideoAd(
            AdSlot adSlot, IFullScreenVideoAdListener listener)
        {
            var context = loadContextID++;

            loadListeners.Add(context, listener);

            UnionPlatform_FullScreenVideoAd_Load(
                adSlot.CodeId,
                adSlot.UserId,
                FullScreenVideoAd_OnErrorMethod,
                FullScreenVideoAd_OnFullScreenVideoAdLoadMethod,
                FullScreenVideoAd_OnFullScreenVideoCachedMethod,
                context);
        }
Пример #3
0
 public void LoadExpressFullScreenVideoAd(
     AdSlot adSlot, IFullScreenVideoAdListener listener)
 {
     ExpressFullScreenVideoAd.LoadFullScreenVideoAd(adSlot, listener);
 }
Пример #4
0
 public FullScreenVideoAdListener(
     IFullScreenVideoAdListener listener)
     : base("com.bytedance.sdk.openadsdk.TTAdNative$FullScreenVideoAdListener")
 {
     this.listener = listener;
 }
Пример #5
0
 /// <summary>
 /// Load the full screen video Ad asynchronously and notice on listener.
 /// </summary>
 public void LoadFullScreenVideoAd(
     AdSlot adSlot, IFullScreenVideoAdListener listener)
 {
     listener.OnError(0, "Not Support on this platform");
 }