requestRewards

Requests the user's current rewards, including how many of them are available for payout and how many have already been paid out.

This method will invoke the PlaytimeRewardListener's onUserReceivesReward or onUserReceivesRewardError methods, according to whether the request was successful or not.

Parameters

context

A context.

listener

A listener to notify you about the result of the request. See io.adjoe.sdk.Playtime.init


Requests the user's current rewards, including how many of them are available for payout and how many have already been paid out.

This method will invoke the PlaytimeRewardListener's onUserReceivesReward or onUserReceivesRewardError methods, according to whether the request was successful or not.

Parameters

ctx

A context.

params

The PlaytimeParams that holds the user acquisition (UA) paramaters and placement (optional).

listener

A listener to notify you about the result of the request. (see .init).