public class AdColonyAdView
extends FrameLayout
| Modifier and Type | Method and Description |
|---|---|
boolean |
destroy()
Call this method when you have finished using this AdColonyAdView and have removed it from
your layout.
|
AdColonyAdSize |
getAdSize()
Used to retrieve the AdColonyAdSize object associated with this view.
|
AdColonyAdViewListener |
getListener()
Used to retrieve the AdColonyAdViewListener object associated with this view.
|
java.lang.String |
getZoneId()
Used to retrieve the zone identifier for the zone that this ad was requested from.
|
void |
setListener(AdColonyAdViewListener listener)
Sets this ad views ad listener, if you wish to use a different one than originally passed in
AdColony.requestAdView(String, AdColonyAdViewListener, AdColonyAdSize). |
public boolean destroy()
public java.lang.String getZoneId()
public void setListener(AdColonyAdViewListener listener)
AdColony.requestAdView(String, AdColonyAdViewListener, AdColonyAdSize).listener - the AdColonyAdViewListener object to be associated with this view.public AdColonyAdViewListener getListener()
public AdColonyAdSize getAdSize()