Interface RewardedAdEventListener

  • All Implemented Interfaces:

    
    public interface RewardedAdEventListener
    
                        

    Listener interface for receiving rewarded ad lifecycle events.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onAdClicked() Called when the user clicks the ad.
      abstract Unit onAdDismissed() Called when the ad is dismissed.
      abstract Unit onAdShown() Called when the ad is successfully shown.
      abstract Unit onAdFailed(AdError adError) Called when the ad fails to show.
      abstract Unit onImpression(ImpressionData impressionData) Called when the ad impression is recorded.
      abstract Unit onReward(Reward reward) Called when the reward is granted to the user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onAdClicked

         abstract Unit onAdClicked()

        Called when the user clicks the ad.

      • onAdShown

         abstract Unit onAdShown()

        Called when the ad is successfully shown.

      • onAdFailed

         abstract Unit onAdFailed(AdError adError)

        Called when the ad fails to show.

        Parameters:
        adError - The error describing the reason for the failure.
      • onImpression

         abstract Unit onImpression(ImpressionData impressionData)

        Called when the ad impression is recorded.

        Parameters:
        impressionData - Optional impression data.
      • onReward

         abstract Unit onReward(Reward reward)

        Called when the reward is granted to the user.

        Parameters:
        reward - The reward data.