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