Package com.tapjoy

Interface TJEarnedCurrencyListener


public interface TJEarnedCurrencyListener
Listener to inform the app whenever virtual currency has been earned. Register this callback with Tapjoy.setEarnedCurrencyListener(TJEarnedCurrencyListener)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEarnedCurrency(String currencyName, int amount)
    Callback whenever virtual currency has been earned.
  • Method Details

    • onEarnedCurrency

      void onEarnedCurrency(String currencyName, int amount)
      Callback whenever virtual currency has been earned. This can get called on a getCurrencyBalance call.
      Parameters:
      currencyName - The name of the currency.
      amount - Amount of virtual currency earned (delta).