Package 

Interface AppstockRewardedAdUnitListener


  • 
    public interface AppstockRewardedAdUnitListener
    
                        

    Listener interface representing RewardedAdUnit events. All methods will be invoked on the main thread.

    • Method Detail

      • onAdLoaded

         void onAdLoaded(AppstockRewardedAdUnit rewardedAdUnit, AdInfo adInfo)

        Executed when the ad is loaded and is ready for display.

        Parameters:
        rewardedAdUnit - view of the corresponding event.
      • onAdDisplayed

         abstract void onAdDisplayed(AppstockRewardedAdUnit rewardedAdUnit)

        Executed when the ad is displayed on screen.

        Parameters:
        rewardedAdUnit - view of the corresponding event.
      • onAdFailed

         abstract void onAdFailed(AppstockRewardedAdUnit rewardedAdUnit, AppstockAdException exception)

        Executed when an error is encountered on initialization / loading or display step.

        Parameters:
        rewardedAdUnit - view of the corresponding event.
        exception - exception containing detailed message and error type.
      • onAdClicked

         abstract void onAdClicked(AppstockRewardedAdUnit rewardedAdUnit)

        Executed when rewardedAdUnit is clicked.

        Parameters:
        rewardedAdUnit - view of the corresponding event.
      • onAdClosed

         abstract void onAdClosed(AppstockRewardedAdUnit rewardedAdUnit)

        Executed when rewardedAdUnit is closed.

        Parameters:
        rewardedAdUnit - view of the corresponding event.