Exemplo n.º 1
0
        /// <summary>
        /// Load the reward video Ad asynchronously and notice on listener.
        /// </summary>
        public void LoadRewardVideoAd(
            AdSlot adSlot, IRewardVideoAdListener listener)
        {
            var androidListener = new RewardVideoAdListener(listener);

            this.adNative.Call(
                "loadRewardVideoAd", adSlot.Handle, androidListener);
        }
Exemplo n.º 2
0
        internal static void LoadRewardVideoAd(
            AdSlot adSlot, IRewardVideoAdListener listener)
        {
            var context = loadContextID++;

            loadListeners.Add(context, listener);

            UnionPlatform_RewardVideoAd_Load(
                adSlot.CodeId,
                adSlot.UserId,
                RewardVideoAd_OnErrorMethod,
                RewardVideoAd_OnRewardVideoAdLoadMethod,
                RewardVideoAd_OnRewardVideoCachedMethod,
                context);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Load the reward video Ad asynchronously and notice on listener.
 /// </summary>
 public void LoadRewardVideoAd(
     AdSlot adSlot, IRewardVideoAdListener listener)
 {
     RewardVideoAd.LoadRewardVideoAd(adSlot, listener);
 }
Exemplo n.º 4
0
 public RewardVideoAdListener(IRewardVideoAdListener listener)
     : base("com.bytedance.sdk.openadsdk.TTAdNative$RewardVideoAdListener")
 {
     this.listener = listener;
 }
Exemplo n.º 5
0
 public void LoadExpressRewardAd(
     AdSlot adSlot, IRewardVideoAdListener listener)
 {
 }
Exemplo n.º 6
0
 /// <summary>
 /// Load the reward video Ad asynchronously and notice on listener.
 /// </summary>
 public void LoadRewardVideoAd(
     AdSlot adSlot, IRewardVideoAdListener listener)
 {
     listener.OnError(0, "Not Support on this platform");
 }