public void onRewardedVideoAdEnded(string empty) { if (IronSourceEvents._onRewardedVideoAdEndedEvent != null) { IronSourceEvents._onRewardedVideoAdEndedEvent(); } }
public void onInterstitialAdClickedDemandOnly(string instanceId) { if (IronSourceEvents._onInterstitialAdClickedDemandOnlyEvent != null) { IronSourceEvents._onInterstitialAdClickedDemandOnlyEvent(instanceId); } }
public void onSegmentReceived(string segmentName) { if (IronSourceEvents._onSegmentReceivedEvent != null) { IronSourceEvents._onSegmentReceivedEvent(segmentName); } }
public void onInterstitialAdRewarded(string empty) { if (IronSourceEvents._onInterstitialAdRewardedEvent != null) { IronSourceEvents._onInterstitialAdRewardedEvent(); } }
public void onBannerAdClicked() { if (IronSourceEvents._onBannerAdClickedEvent != null) { IronSourceEvents._onBannerAdClickedEvent(); } }
public void onBannerAdScreenPresented() { if (IronSourceEvents._onBannerAdScreenPresentedEvent != null) { IronSourceEvents._onBannerAdScreenPresentedEvent(); } }
public void onInterstitialAdReady() { if (IronSourceEvents._onInterstitialAdReadyEvent != null) { IronSourceEvents._onInterstitialAdReadyEvent(); } }
public void onBannerAdScreenDismissed() { if (IronSourceEvents._onBannerAdScreenDismissedEvent != null) { IronSourceEvents._onBannerAdScreenDismissedEvent(); } }
public void onRewardedVideoAdClosedDemandOnly(string instanceId) { if (IronSourceEvents._onRewardedVideoAdClosedDemandOnlyEvent != null) { IronSourceEvents._onRewardedVideoAdClosedDemandOnlyEvent(instanceId); } }
public void onBannerAdLeftApplication() { if (IronSourceEvents._onBannerAdLeftApplicationEvent != null) { IronSourceEvents._onBannerAdLeftApplicationEvent(); } }
public void onOfferwallAdCredited(string json) { if (IronSourceEvents._onOfferwallAdCreditedEvent != null) { IronSourceEvents._onOfferwallAdCreditedEvent(Json.Deserialize(json) as Dictionary <string, object>); } }
public void onOfferwallClosed(string empty) { if (IronSourceEvents._onOfferwallClosedEvent != null) { IronSourceEvents._onOfferwallClosedEvent(); } }
public void onGetOfferwallCreditsFailed(string description) { if (IronSourceEvents._onGetOfferwallCreditsFailedEvent != null) { IronSourceError errorFromErrorObject = getErrorFromErrorObject(description); IronSourceEvents._onGetOfferwallCreditsFailedEvent(errorFromErrorObject); } }
public void onRewardedVideoAdShowFailed(string description) { if (IronSourceEvents._onRewardedVideoAdShowFailedEvent != null) { IronSourceError errorFromErrorObject = getErrorFromErrorObject(description); IronSourceEvents._onRewardedVideoAdShowFailedEvent(errorFromErrorObject); } }
public void onInterstitialAdShowFailed(string description) { if (IronSourceEvents._onInterstitialAdShowFailedEvent != null) { IronSourceError errorFromErrorObject = getErrorFromErrorObject(description); IronSourceEvents._onInterstitialAdShowFailedEvent(errorFromErrorObject); } }
public void onRewardedVideoAdClicked(string description) { if (IronSourceEvents._onRewardedVideoAdClickedEvent != null) { IronSourcePlacement placementFromObject = getPlacementFromObject(description); IronSourceEvents._onRewardedVideoAdClickedEvent(placementFromObject); } }
public void onBannerAdLoadFailed(string description) { if (IronSourceEvents._onBannerAdLoadFailedEvent != null) { IronSourceError errorFromErrorObject = getErrorFromErrorObject(description); IronSourceEvents._onBannerAdLoadFailedEvent(errorFromErrorObject); } }
public void onRewardedVideoAvailabilityChanged(string stringAvailable) { bool obj = (stringAvailable == "true") ? true : false; if (IronSourceEvents._onRewardedVideoAvailabilityChangedEvent != null) { IronSourceEvents._onRewardedVideoAvailabilityChangedEvent(obj); } }
public void onOfferwallAvailable(string stringAvailable) { bool obj = (stringAvailable == "true") ? true : false; if (IronSourceEvents._onOfferwallAvailableEvent != null) { IronSourceEvents._onOfferwallAvailableEvent(obj); } }
public void onRewardedVideoAvailabilityChangedDemandOnly(string args) { if (IronSourceEvents._onRewardedVideoAvailabilityChangedDemandOnlyEvent != null && !string.IsNullOrEmpty(args)) { List <object> list = Json.Deserialize(args) as List <object>; bool arg = (list[1].ToString().ToLower() == "true") ? true : false; string arg2 = list[0].ToString(); IronSourceEvents._onRewardedVideoAvailabilityChangedDemandOnlyEvent(arg2, arg); } }
public void onRewardedVideoAdClickedDemandOnly(string args) { if (IronSourceEvents._onRewardedVideoAdClickedDemandOnlyEvent != null && !string.IsNullOrEmpty(args)) { List <object> list = Json.Deserialize(args) as List <object>; string arg = list[0].ToString(); IronSourcePlacement placementFromObject = getPlacementFromObject(list[1]); IronSourceEvents._onRewardedVideoAdClickedDemandOnlyEvent(arg, placementFromObject); } }
public void onInterstitialAdShowFailedDemandOnly(string args) { if (IronSourceEvents._onInterstitialAdLoadFailedDemandOnlyEvent != null && !string.IsNullOrEmpty(args)) { List <object> list = Json.Deserialize(args) as List <object>; IronSourceError errorFromErrorObject = getErrorFromErrorObject(list[1]); string arg = list[0].ToString(); IronSourceEvents._onInterstitialAdShowFailedDemandOnlyEvent(arg, errorFromErrorObject); } }
void Awake() { if (m_Instance == null) { m_Instance = this; gameObject.name = "IronSourceEvents"; //Change the GameObject name to IronSourceEvents. DontDestroyOnLoad(gameObject); //Makes the object not be destroyed automatically when loading a new scene. } else if (m_Instance != this) { Destroy(this.gameObject); } }