public final class

RewardedInterstitial

extends Object
java.lang.Object
   ↳ com.smaato.sdk.rewarded.RewardedInterstitial

Summary

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 mediationAdapterVersion.

static void setMediationNetworkName(String mediationNetworkName)
Used for mediation adapter

Sets the mediationNetworkName.

static void setMediationNetworkSDKVersion(String mediationNetworkSDKVersion)
Used for mediation adapter

Sets the mediationNetworkSDKVersion.

[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void loadAd (Context context, String publisherId, String adSpaceId, EventListener loadListener)

Requests new advertisement.

Parameters
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.

public static void setMediationAdapterVersion (String mediationAdapterVersion)

Used for mediation adapter

Sets the mediationAdapterVersion. Requests new advertisement from mediation adapter.

Parameters
mediationAdapterVersion the mediationAdapterVersion sets the mediation adapter version.

public static void setMediationNetworkName (String mediationNetworkName)

Used for mediation adapter

Sets the mediationNetworkName.

Parameters
mediationNetworkName the mediationNetworkName

public static void setMediationNetworkSDKVersion (String mediationNetworkSDKVersion)

Used for mediation adapter

Sets the mediationNetworkSDKVersion.

Parameters
mediationNetworkSDKVersion the mediationNetworkSDKVersion