Beispiel #1
0
 public void init(OnAdEventCallback adEventInfo)
 {
     onAdEventInfo += adEventInfo;
     IronSourceEvents.onBannerAdLoadedEvent          += BannerAdLoadedEvent;
     IronSourceEvents.onBannerAdLoadFailedEvent      += BannerAdLoadFailedEvent;
     IronSourceEvents.onBannerAdClickedEvent         += BannerAdClickedEvent;
     IronSourceEvents.onBannerAdScreenPresentedEvent += BannerAdScreenPresentedEvent;
     IronSourceEvents.onBannerAdScreenDismissedEvent += BannerAdScreenDismissedEvent;
     IronSourceEvents.onBannerAdLeftApplicationEvent += BannerAdLeftApplicationEvent;
 }
 public void init(OnAdEventCallback adEventInfo)
 {
     onAdEventInfo += adEventInfo;
     IronSourceEvents.onInterstitialAdReadyEvent         += InterstitialAdReadyEvent;
     IronSourceEvents.onInterstitialAdLoadFailedEvent    += InterstitialAdLoadFailedEvent;
     IronSourceEvents.onInterstitialAdShowSucceededEvent += InterstitialAdShowSucceededEvent;
     IronSourceEvents.onInterstitialAdShowFailedEvent    += InterstitialAdShowFailedEvent;
     IronSourceEvents.onInterstitialAdClickedEvent       += InterstitialAdClickedEvent;
     IronSourceEvents.onInterstitialAdOpenedEvent        += InterstitialAdOpenedEvent;
     IronSourceEvents.onInterstitialAdClosedEvent        += InterstitialAdClosedEvent;
 }
Beispiel #3
0
        public void init(OnAdEventCallback adEventInfo)
        {
            onAdEventInfo += adEventInfo;
            IronSourceEvents.onRewardedVideoAdOpenedEvent            += RewardedVideoAdOpenedEvent;
            IronSourceEvents.onRewardedVideoAdClosedEvent            += RewardedVideoAdClosedEvent;
            IronSourceEvents.onRewardedVideoAvailabilityChangedEvent += RewardedVideoAvailabilityChangedEvent;
            IronSourceEvents.onRewardedVideoAdStartedEvent           += RewardedVideoAdStartedEvent;
            IronSourceEvents.onRewardedVideoAdEndedEvent             += RewardedVideoAdEndedEvent;
            IronSourceEvents.onRewardedVideoAdRewardedEvent          += RewardedVideoAdRewardedEvent;
            IronSourceEvents.onRewardedVideoAdShowFailedEvent        += RewardedVideoAdShowFailedEvent;
            IronSourceEvents.onRewardedVideoAdClickedEvent           += RewardedVideoAdClickedEvent;

            IronSource.Agent.shouldTrackNetworkState(true);
        }
 public abstract void init(OnAdEventCallback onAdEvent);
 private void adUnitsInit(OnAdEventCallback onAdEvent)
 {
     refs.bannerMgr.init(onAdEvent);
     refs.interstitialMgr.init(onAdEvent);
     refs.rewardAdsMgr.init(onAdEvent);
 }
 public override void init(OnAdEventCallback onAdEvent)
 {
     initIronSourceAgent();
     adUnitsInit(onAdEvent);
 }