Google is committed to advancing racial equity for Black communities. See how.

OnUserEarnedRewardListener

public interface OnUserEarnedRewardListener

Interface definition for a callback to be invoked when the user earned a reward.

Public Method Summary

abstract void
onUserEarnedReward(RewardItem reward)
Called when the user earned a reward.

Public Methods

public abstract void onUserEarnedReward (RewardItem reward)

Called when the user earned a reward. The app is responsible for crediting the user with the reward.

Parameters
reward the reward to grant the user.