示例#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);
        }
示例#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);
        }
示例#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);
 }
示例#4
0
 public RewardVideoAdListener(IRewardVideoAdListener listener)
     : base("com.bytedance.sdk.openadsdk.TTAdNative$RewardVideoAdListener")
 {
     this.listener = listener;
 }
示例#5
0
 public void LoadExpressRewardAd(
     AdSlot adSlot, IRewardVideoAdListener listener)
 {
 }
示例#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");
 }