public interface Ad
Modifier and Type | Method and Description |
---|---|
boolean |
isReady()
Returns
true if the ad is successfully loaded and is ready to be
shown. |
void |
loadAd(AdRequest adRequest)
Download an ad using the supplied
AdRequest . |
void |
setAdListener(AdListener adListener)
Set an
AdListener for this Ad . |
void |
stopLoading()
Stops loading the ad.
|
boolean isReady()
true
if the ad is successfully loaded and is ready to be
shown.true
if the ad is successfully loaded and is ready to be
shown.void loadAd(AdRequest adRequest)
AdRequest
.adRequest
- the AdRequest
used to fetch the ad.void setAdListener(AdListener adListener)
AdListener
for this Ad
.adListener
- the AdListener
.void stopLoading()