Package 

Interface HyprMXRewardedShowListener

  • All Implemented Interfaces:
    com.hyprmx.android.sdk.placement.HyprMXShowListener

    
    public interface HyprMXRewardedShowListener
     implements HyprMXShowListener
                        

    The listener interface that the SDK calls to and that clients should implement to know the state of the placement. This will also return a reward if the placement is rewarded.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onAdRewarded(Placement placement, String rewardName, Integer rewardValue) The ad was rewarded for the placement and will be called before ad finished is called This will only be called for rewarded placements
      • Methods inherited from class com.hyprmx.android.sdk.placement.HyprMXRewardedShowListener

        onAdClosed, onAdDisplayError, onAdImpression, onAdStarted
      • Methods inherited from class java.lang.Object

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

      • onAdRewarded

         abstract Unit onAdRewarded(Placement placement, String rewardName, Integer rewardValue)

        The ad was rewarded for the placement and will be called before ad finished is called This will only be called for rewarded placements

        Parameters:
        placement - The placement that was rewarded
        rewardName - The name of the reward
        rewardValue - The value of the reward