Interface definition for a callback to be invoked when the user earned a reward.
Called when the user earned a reward. The app is responsible for crediting the user with the reward.