/// <summary> /// Load the draw feed Ad asynchronously and notice on listener. /// </summary> public void LoadDrawFeedAd(AdSlot adSlot, IDrawFeedAdListener listener) { var androidListener = new DrawFeedAdListener(listener); this.adNative.Call( "loadDrawFeedAd", adSlot.Handle, androidListener); }
/// <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); }
public void LoadExpressInterstitialAd( AdSlot adSlot, IExpressAdListener listener) { var androidListener = new ExpressAdListener(listener); this.adNative.Call( "loadInteractionExpressAd", adSlot.Handle, androidListener); }
public void LoadExpressBannerAd( AdSlot adSlot, IExpressAdListener listener) { var androidListener = new ExpressAdListener(listener); this.adNative.Call( "loadBannerExpressAd", adSlot.Handle, androidListener); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { var androidListener = new SplashAdListener(listener); this.adNative.Call( "loadSplashAd", adSlot.Handle, androidListener, timeOut); }
/// <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); }
/// <summary> /// Load the interaction Ad asynchronously and notice on listener. /// </summary> public void LoadInteractionAd( AdSlot adSlot, IInteractionAdListener listener) { var androidListener = new InteractionAdListener(listener); this.adNative.Call( "loadInteractionAd", adSlot.Handle, androidListener); }
/// <summary> /// Load the splash Ad. /// </summary> internal static void LoadSplashAd(AdSlot adSlot, ISplashAdListener listener, int timeOut) { var context = loadContextID++; loadListeners.Add(context, listener); UnionPlatform_SplashAd_Load( adSlot.CodeId, timeOut, SplashAd_OnErrorMethod, SplashAd_OnLoadMethod, context); }
internal static void LoadExpressAd( AdSlot slot, IExpressAdListener listener) { var context = loadContextID++; loadListeners.Add(context, listener); UnionPlatform_ExpressBannersAd_Load( slot.CodeId, slot.viewwidth, slot.viewheight, ExpressAd_OnLoadMethod, ExpressAd_OnLoadErrorMethod, context); }
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); }
internal static void LoadRewardVideoAd( AdSlot adSlot, IRewardVideoAdListener listener) { var context = loadContextID++; loadListeners.Add(context, listener); UnionPlatform_RewardVideoAd_Load( adSlot.CodeId, adSlot.UserId, adSlot.mediaExtra, RewardVideoAd_OnErrorMethod, RewardVideoAd_OnRewardVideoAdLoadMethod, RewardVideoAd_OnRewardVideoCachedMethod, context); }
internal static void LoadNativeAd( AdSlot adSlot, INativeAdListener listener) { var context = loadContextID++; loadListeners.Add(context, listener); Debug.Log(adSlot.CodeId); UnionPlatform_NativeAd_Load( adSlot.CodeId, adSlot.adCount, adSlot.type, adSlot.width, adSlot.height, NativeAd_OnErrorMethod, NativeAd_OnNativeAdLoadMethod, context); }
internal static void LoadRewardVideoAd( AdSlot adSlot, IRewardVideoAdListener listener) { var context = loadContextID++; loadListeners.Add(context, listener); UnionPlatform_ExpressRewardVideoAd_Load( adSlot.CodeId, adSlot.UserId, adSlot.RewardName, adSlot.RewardAmount, adSlot.ExtraInfo, RewardVideoAd_OnErrorMethod, RewardVideoAd_OnRewardVideoAdLoadMethod, RewardVideoAd_OnRewardVideoCachedMethod, context); }
internal static void LoadExpressAdAd( AdSlot slot, IExpressAdListener listener) { var context = loadContextID++; loadListeners.Add(context, listener); for (int i = 0; i < slot.adCount; i++) { expressAds.Add(new ExpressAd(i)); } UnionPlatform_ExpressAd_Load( context, slot.CodeId, slot.width, slot.height, slot.adCount, ExpressAd_OnLoadMethod, ExpressAd_OnLoadErrorMethod); }
/// <summary> /// Load the banner Ad asynchronously and notice on listener. /// </summary> public void LoadBannerAd(AdSlot adSlot, IBannerAdListener listener) { listener.OnError(0, "Not Support on this platform"); }
/// <summary> /// Load the native Ad asynchronously and notice on listener. /// </summary> public void LoadNativeAd(AdSlot adSlot, INativeAdListener listener) { NativeAd.LoadNativeAd(adSlot, listener); }
/// <summary> /// Load the draw feed Ad asynchronously and notice on listener. /// </summary> public void LoadDrawFeedAd(AdSlot adSlot, IDrawFeedAdListener listener) { listener.OnError(0, "Not Support on this platform"); }
public void LoadExpressBannerAd( AdSlot adSlot, IExpressAdListener listener) { ExpressBannerAd.LoadExpressAd(adSlot, listener); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadExpressSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { }
/// <summary> /// Load the splash Ad asynchronously and notice on listener. /// </summary> public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener) { BUExpressSplashAd.LoadSplashAd(adSlot, listener, -1); }
/// <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"); }
/// <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"); }
public void LoadExpressRewardAd( AdSlot adSlot, IRewardVideoAdListener listener) { }
/// <summary> /// Load the interaction Ad asynchronously and notice on listener. /// </summary> public void LoadInteractionAd( AdSlot adSlot, IInteractionAdListener listener) { listener.OnError(0, "Not Support on this platform"); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener with /// specify timeout. /// </summary> public void LoadExpressSplashAd( AdSlot adSlot, ISplashAdListener listener, int timeOut) { BUExpressSplashAd.LoadSplashAd(adSlot, listener, timeOut); }
public void LoadExpressFullScreenVideoAd( AdSlot adSlot, IFullScreenVideoAdListener listener) { ExpressFullScreenVideoAd.LoadFullScreenVideoAd(adSlot, listener); }
/// <summary> /// Load the reward video Ad asynchronously and notice on listener. /// </summary> public void LoadRewardVideoAd( AdSlot adSlot, IRewardVideoAdListener listener) { RewardVideoAd.LoadRewardVideoAd(adSlot, listener); }
public void LoadNativeExpressAd( AdSlot adSlot, IExpressAdListener listener) { ExpressAd.LoadExpressAdAd(adSlot, listener); }
public void LoadExpressInterstitialAd( AdSlot adSlot, IExpressAdListener listener) { ExpressInterstitialAd.LoadExpressAd(adSlot, listener); }
/// <summary> /// Load the splash Ad asynchronously and notice on listener. /// </summary> public void LoadExpressSplashAd(AdSlot adSlot, ISplashAdListener listener) { }