public interface TJSpendCurrencyListener
Tapjoy.spendCurrency(int, TJSpendCurrencyListener)
should implement TJSpendCurrencyListener so it can receive the callback
containing the virtual currency name/balance info.Modifier and Type | Method and Description |
---|---|
void |
onSpendCurrencyResponse(java.lang.String currencyName,
int balance)
Callback containing the virtual currency name and balance currency
information.
|
void |
onSpendCurrencyResponseFailure(java.lang.String error)
Call containing error message if spendCurrency fails.
|
void onSpendCurrencyResponse(java.lang.String currencyName, int balance)
currencyName
- The name of the virtual currency.balance
- Currency balance after spend currency transaction.void onSpendCurrencyResponseFailure(java.lang.String error)
error
- The error message for a failed request.