onOfferwallAdCredited abstract method
Invoked each time the user completes an offer or as a result of getOfferwallCredits
.
- Award the user with the credit amount based on the
creditInfo
.
creditInfo
is an instance of IronSourceOWCreditInfo with following fields:
credits
represents the number of credits the user has earned.totalCredits
is the total number of credits ever earned by the user.totalCreditsFlag
becomes true in cases where we are not able to provide the exact amount of credits since the last event (specifically after the user clears the app data). In such case,credits
will be equal tototalCredits
.
Native SDK Reference
- Android: onOfferwallAdCredited
-
iOS: didReceiveOfferwallCredits
Implementation
void onOfferwallAdCredited(IronSourceOfferWallCreditInfo creditInfo);