Class AdColonyInterstitial

    • Field Detail

      • ADCOLONY_IAP_ENGAGEMENT_END_CARD

        public static final int ADCOLONY_IAP_ENGAGEMENT_END_CARD
        See Also:
        Constant Field Values
      • ADCOLONY_IAP_ENGAGEMENT_OVERLAY

        public static final int ADCOLONY_IAP_ENGAGEMENT_OVERLAY
        See Also:
        Constant Field Values
    • Method Detail

      • show

        public boolean show()
        Called to display a fullscreen interstitial advertisement. The ad will not be shown if it has expired or if it has already been shown.
        Returns:
        whether or not the command was successful. Will return false if the ad has been shown, if the ad has expired, or if an interstitial is already being displayed.
      • cancel

        public boolean cancel()
        Cancels the fullscreen interstitial and returns control to your app.
        Returns:
        whether or not the command was successful. Will return false if the interstitial is not currently being displayed.
      • isExpired

        public boolean isExpired()
        AdColony interstitials become expired as soon as the ad launches or just before they have met their expiration time.
        Returns:
        boolean describing whether or not the interstitial has been played or if it has met its expiration time.
      • destroy

        public boolean destroy()
        Removes internal reference of this ad object to allow for collection. No methods should be called on this ad object after destroy.
      • getViewNetworkPassFilter

        public java.lang.String getViewNetworkPassFilter()
      • setViewNetworkPassFilter

        public void setViewNetworkPassFilter​(java.lang.String viewNetworkPassFilter)