/// <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); }
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); }
/// <summary> /// Load the reward video Ad asynchronously and notice on listener. /// </summary> public void LoadRewardVideoAd( AdSlot adSlot, IRewardVideoAdListener listener) { RewardVideoAd.LoadRewardVideoAd(adSlot, listener); }
public RewardVideoAdListener(IRewardVideoAdListener listener) : base("com.bytedance.sdk.openadsdk.TTAdNative$RewardVideoAdListener") { this.listener = listener; }
public void LoadExpressRewardAd( AdSlot adSlot, IRewardVideoAdListener listener) { }
/// <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"); }