Constructor and Description |
---|
BannerAdView(Context context,
java.lang.String spaceId)
Instantiates a new banner ad view.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReady()
Checks if ads is ready.
|
void |
loadAd()
Start load ad.
|
void |
setAdListener(AdListener adListener)
Sets the ad listener.
|
void |
setTesting(boolean test)
Sets mode of loading ads.
|
void |
show()
Show the ads.
|
void |
showAds()
Show pop up ads.
|
void |
stopLoading()
Stop loading.
|
public BannerAdView(Context context, java.lang.String spaceId)
context
- the contextspaceId
- the space idpublic void showAds()
public boolean isReady()
Ad
public void loadAd()
Ad
public void setAdListener(AdListener adListener)
Ad
setAdListener
in interface Ad
adListener
- the listener for process of adspublic void stopLoading()
Ad
stopLoading
in interface Ad
public void show()
Ad
public void setTesting(boolean test)
Ad
setTesting
in interface Ad
test
- the mode of loading ads, default false