8.0.0 API Changes
As part of 8.0.0 we removed some APIs and deprecated some of our existing listeners and callbacks. You can find the detailed list of changes below:
APIs removed from 8.0.0 for Android
Deprecated class | New class |
BannerListener | LevelPlayBannerListener |
InterstitialListener | LevelPlayInterstitialListener |
RewardedVideoListener | LevelPlayRewardedVideoListener |
RewardedVideoManualListener | LevelPlayRewardedVideoManualListener |
Deprecated API | New API |
public static void setRewardedVideoListener(RewardedVideoListener listener) | public static void setLevelPlayRewardedVideoListener(LevelPlayRewardedVideoListener listener) |
void sendBannerAdLoaded(final AdInfo adInfo, final boolean isReload) | BNListenerWrapper.getInstance().onBannerAdLoaded |
void addViewWithFrameLayoutParams(final View adView, final FrameLayout.LayoutParams layoutParams) | BannerUtils.addViewWithFrameLayoutParams(final IronSourceBannerLayout bannerLayout, final View adView, final FrameLayout.LayoutParams layoutParams) |
fun setNativeAd(nativeAd: LevelPlayNativeAd) | public void registerNativeAdViews(LevelPlayNativeAd nativeAd) |
public static void setInterstitialListener(InterstitialListener listener) | public static void setLevelPlayInterstitialListener(LevelPlayInterstitialListener listener) |
public static void removeOfferwallListener() | – |
public static void showOfferwall() | – |
public static void showOfferwall(String placementName) | – |
public static boolean isOfferwallAvailable() | – |
public static void getOfferwallCredits() | – |
public static void setOfferwallListener(OfferwallListener listener) | – |
void sendBannerAdLoadFailed(final IronSourceError error, final boolean isReload) | – |
OfferwallListener | – |
public static boolean isInitResponseCached(Context context) | – |
private static JSONObject getCachedInitResponse(Context context) | – |
public static String getCachedValueByKeyOfCachedInitResponse(Context context, String key) | – |