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 Type
  Method
  Description
  `void`
  `onSpendCurrencyResponse(String currencyName, int balance)`
  Callback containing the virtual currency name and balance currency information.
  `void`
  `onSpendCurrencyResponseFailure(String error)`
  Call containing error message if spendCurrency fails.

- ## Method Details

  - ### onSpendCurrencyResponse

    void onSpendCurrencyResponse(String currencyName, int balance)
    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

    void onSpendCurrencyResponseFailure(String error)
    Call containing error message if spendCurrency fails.
    Parameters:
      `error` - The error message for a failed request.