com.appzilo

Interface AdListener

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void onDismissScreen(Ad ad)
      Method to be called when ad view being closed,and resuming current activity.
      void onFailedToReceiveAd(Ad ad, AdErrorCode adErrorCode)
      Method to be called on loading ad failed.
      void onLeaveApplication(Ad ad)
      Method to be called when user click the ad, leave application because it will open browser to load ads.
      void onPresentScreen(Ad ad)
      Method to be called when Interstitial ad view displayed to user, current activity paused.
      void onReceiveAd(Ad ad)
      Method to be called on loading ad successful.
    • Method Detail

      • onReceiveAd

        void onReceiveAd(Ad ad)
        Method to be called on loading ad successful.
        Parameters:
        ad - the ad
      • onFailedToReceiveAd

        void onFailedToReceiveAd(Ad ad,
                               AdErrorCode adErrorCode)
        Method to be called on loading ad failed.
        Parameters:
        ad - the ad
        adErrorCode - the error code of failed to receive ad
      • onDismissScreen

        void onDismissScreen(Ad ad)
        Method to be called when ad view being closed,and resuming current activity.
        Parameters:
        ad - the ad
      • onLeaveApplication

        void onLeaveApplication(Ad ad)
        Method to be called when user click the ad, leave application because it will open browser to load ads.
        Parameters:
        ad - the ad
      • onPresentScreen

        void onPresentScreen(Ad ad)
        Method to be called when Interstitial ad view displayed to user, current activity paused.
        Parameters:
        ad - the ad
        Throws:
        java.lang.Exception