Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 public void LoadExpressFullScreenVideoAd(
     AdSlot adSlot, IFullScreenVideoAdListener listener)
 {
     ExpressFullScreenVideoAd.LoadFullScreenVideoAd(adSlot, listener);
 }
Ejemplo n.º 4
0
 public FullScreenVideoAdListener(
     IFullScreenVideoAdListener listener)
     : base("com.bytedance.sdk.openadsdk.TTAdNative$FullScreenVideoAdListener")
 {
     this.listener = listener;
 }
Ejemplo n.º 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");
 }