| java.lang.Object | |
| ↳ | com.smaato.sdk.interstitial.InterstitialAd |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| InterstitialAd() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract String |
getAdSpaceId()
Will return adSpaceID value which was set in the Interstitial.loadAd method
| ||||||||||
| abstract String | getCreativeId() | ||||||||||
| abstract 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.
| ||||||||||
| final void |
showAd(Activity activity)
Show the interstitial ad.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Will return adSpaceID value which was set in the Interstitial.loadAd method
Check if ad is not expired and can be shown
Background color to be used for the presenting Interstitial activity.
Useful when there is a possibility the ad won't fill the entire display.
BLACK by default.
Show the interstitial ad.
| activity | Activity from which Interstitial Ad is going to be started. |
|---|