| java.lang.Object | |
| ↳ | com.smaato.sdk.rewarded.RewardedInterstitial |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
loadAd(Context context, String publisherId, String adSpaceId, EventListener loadListener)
Requests new advertisement.
| ||||||||||
| static void |
setMediationAdapterVersion(String mediationAdapterVersion)
Used for mediation adapter
Sets the | ||||||||||
| static void |
setMediationNetworkName(String mediationNetworkName)
Used for mediation adapter
Sets the | ||||||||||
| static void |
setMediationNetworkSDKVersion(String mediationNetworkSDKVersion)
Used for mediation adapter
Sets the | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Requests new advertisement.
| context | a context to build RewardedInterstitialAd ad instance on success response. Can not be null. |
|---|---|
| publisherId | Publisher ID (assigned by Smaato). Can not be null. |
| adSpaceId | AdSpace ID (assigned by Smaato). Can not be null. |
| loadListener | a listener to receive loadAd callbacks. Can not be null.
RewardedInterstitial keeps java.lang.ref.WeakReference on listener to prevent memory leaks.
It's responsibility of RewardedInterstitial's user to keep instances from been collected by garbage collector.
|
Used for mediation adapter
Sets the mediationAdapterVersion.
Requests new advertisement from mediation adapter.
| mediationAdapterVersion | the mediationAdapterVersion sets the mediation adapter version.
|
|---|
Used for mediation adapter
Sets the mediationNetworkName.
| mediationNetworkName | the mediationNetworkName
|
|---|
Used for mediation adapter
Sets the mediationNetworkSDKVersion.
| mediationNetworkSDKVersion | the mediationNetworkSDKVersion
|
|---|