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 Details

    • onGetCurrencyBalanceResponse

      void onGetCurrencyBalanceResponse(String currencyName, int balance)
      Callback containing the virtual currency name and total balance information.
      Parameters:
      currencyName - The name of the virtual currency.
      balance - Currency balance.
    • onGetCurrencyBalanceResponseFailure

      void onGetCurrencyBalanceResponseFailure(String error)
      Call containing error message if getCurrencyBalance() fails.
      Parameters:
      error - The error message for a failed request.