Package com.tapjoy

Interface TJAwardCurrencyListener


public interface TJAwardCurrencyListener
Any class calling Tapjoy.awardCurrency(int, TJAwardCurrencyListener) should implement TJAwardCurrencyListener so it can receive the callback containing the virtual currency name/balance info.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAwardCurrencyResponse(String currencyName, int balance)
    Callback containing the virtual currency name and balance currency information.
    void
    Call containing error message if awardCurrency fails.
  • Method Details

    • onAwardCurrencyResponse

      void onAwardCurrencyResponse(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 award currency transaction.
    • onAwardCurrencyResponseFailure

      void onAwardCurrencyResponseFailure(String error)
      Call containing error message if awardCurrency fails.
      Parameters:
      error - The error message for a failed award currency request.