Class AdColonyAdView


  • public class AdColonyAdView
    extends FrameLayout
    An ad object returned via the AdColonyAdViewListener's onRequestFilled callback. Represents a display advertisement to be inserted into your layout.
    • Method Detail

      • destroy

        public boolean destroy()
        Call this method when you have finished using this AdColonyAdView and have removed it from your layout. Breaks down the object, removes internal references, and allows for memory to be freed. The object should no longer be used after this call.
        Returns:
        whether or not the command was successful. Will return false if destroy() has already been called.
      • getZoneId

        public java.lang.String getZoneId()
        Used to retrieve the zone identifier for the zone that this ad was requested from.
        Returns:
        the unique zone identifier tied to this ad.
      • getListener

        public AdColonyAdViewListener getListener()
        Used to retrieve the AdColonyAdViewListener object associated with this view.
        Returns:
        the AdColonyAdViewListener object associated with this view.
      • getAdSize

        public AdColonyAdSize getAdSize()
        Used to retrieve the AdColonyAdSize object associated with this view.
        Returns:
        the AdColonyAdSize object associated with this view.