|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Ad
An interface for all types of ads.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |