public abstract class InterstitialAd
extends java.lang.Object
| Constructor and Description |
|---|
InterstitialAd() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getAdSpaceId()
Will return adSpaceID value which was set in the Interstitial.loadAd method
|
abstract java.lang.String |
getCreativeId() |
abstract java.lang.String |
getSessionId() |
abstract boolean |
isAvailableForPresentation()
Check if ad is not expired and can be shown
|
void |
setBackgroundColor(int backgroundColor)
Background color to be used for the presenting Interstitial activity.
|
void |
showAd(android.app.Activity activity)
Show the interstitial ad.
|
public final void showAd(@NonNull
android.app.Activity activity)
activity - Activity from which Interstitial Ad is going to be started.public void setBackgroundColor(int backgroundColor)
Color.BLACK by default.@NonNull public abstract java.lang.String getSessionId()
@Nullable public abstract java.lang.String getCreativeId()
@NonNull public abstract java.lang.String getAdSpaceId()
public abstract boolean isAvailableForPresentation()