Constructor and Description |
---|
InterstitialAd(Context context,
java.lang.String spaceId)
Instantiates a new interstitial ad.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReady()
Checks if ads is ready.
|
void |
loadAd()
Start load ad.
|
void |
setAdListener(AdListener adListener)
assigned listener
|
void |
setTesting(boolean testing)
Sets mode of loading ads.
|
void |
show()
start new activity to show ads in full screen
start an activity and show it
|
void |
stopLoading()
stop loading ad coding here
|
public InterstitialAd(Context context, java.lang.String spaceId)
context
- the contextspaceId
- the space idpublic boolean isReady()
Ad
public void loadAd()
Ad
public void setAdListener(AdListener adListener)
setAdListener
in interface Ad
adListener
- the listener for process of adspublic void stopLoading()
stopLoading
in interface Ad
public void show()
public void setTesting(boolean testing)
Ad
setTesting
in interface Ad
testing
- the mode of loading ads, default false