Package com.tapjoy
Interface TJSpendCurrencyListener
public interface TJSpendCurrencyListener
Any class calling
Tapjoy.spendCurrency(int, TJSpendCurrencyListener)
should implement TJSpendCurrencyListener so it can receive the callback
containing the virtual currency name/balance info.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSpendCurrencyResponse
(String currencyName, int balance) Callback containing the virtual currency name and balance currency information.void
Call containing error message if spendCurrency fails.
-
Method Details
-
onSpendCurrencyResponse
Callback containing the virtual currency name and balance currency information.- Parameters:
currencyName
- The name of the virtual currency.balance
- Currency balance after spend currency transaction.
-
onSpendCurrencyResponseFailure
Call containing error message if spendCurrency fails.- Parameters:
error
- The error message for a failed request.
-