BidmadSDK 3.0.0 API Migration Guide (ENG) - bidmad/Bidmad-Android GitHub Wiki
vOfferWall and RewardInterstitial ad types are deprecated in v3.0.0.
APIs that have been changed or removed from the new API can be checked in the table below, and for a detailed API list, please check Reference
Legacy Class | Method | 3.0.0 Class | Method |
---|---|---|---|
Common | initializeSdk(Activity) | Common | Move to BidmadCommon |
BidmadCommon | - | BidmadCommon | initializeSdk(Activity, String) / initializeSdk(Activity) |
AdViewListener | onLoadAd(String) | AdViewListener | onLoadAd() |
onFailedAd() | onLoadFailAd(BMAdError) | ||
AppOpenListener | onFailedAd() | AppOpenListener | onLoadFailAd(BMAdError) |
onExpired() | onExpireAd() | ||
NativeListener | onFailedAd() | NativeListener | onLoadFailAd(BMAdError) |
RewardListener | onFailedAd() | RewardListener | onLoadFailAd(BMAdError) |
onShowAd(String) | onShowAd() | ||
onCompleteAd(String) | onCompleteAd() | ||
onOpenAd(String) | Removed | ||
onCloseAd(String) | onCloseAd() | ||
onClickAd(String) | onClickAd() | ||
onSkippedAd(String) | onSkipAd() | ||
InterstitialListener | onFailedAd() | InterstitialListener | onLoadFailAd(BMAdError) |
BidmadOfferwallAd | - | Removed | - |
BidmadRewardInterstitialAd | - | Removed | - |
BidmadBannerAd | setCUID(String) | BidmadBannerAd | Move to AdOption |
setChildDirected(boolean) | |||
BidmadInterstitialAd | setCUID(String) | BidmadInterstitialAd | Move to AdOption |
setChildDirected(boolean) | |||
setMute(boolean) | |||
BidmadRewardAd | setCUID(String) | BidmadRewardAd | Move to AdOption |
setChildDirected(boolean) | |||
setMute(booelan) | |||
BidmadNativeAd | setCUID(String) | BidmadNativeAd | Move to AdOption |
setChildDirected(boolean) | |||
setMute(boolean) | |||
BidmadAppOpenAd | setCUID(String) | BidmadAppOpenAd | Move to AdOption |
setChildDirected(boolean) | |||
AdOption | setOrientation(int) | AdOption | Removed |
getOrientation() | |||
setMute(boolean) | setUseMute(boolean) | ||
isMute() | isUseMute() | ||
- | setCuid(String) | ||
- | getCuid() | ||
- | setChildDirected(String) | ||
- | isChildDirected() | ||
- | setUseServerSideCallback(boolean) | ||
- | getUseServerSideCallback(boolean) |