Package com.tapjoy

# Interface TJGetUserRevenueListener

public interface TJGetUserRevenueListener
Any class calling `Tapjoy.getUserRevenue(TJGetUserRevenueListener)` should implement TJGetUserRevenueListener so it can receive the callback containing the virtual currency name/balance info.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onGetUserRevenueResponse(com.tapjoy.TJUserRevenue userRevenue)`
  Callback containing the impression-level revenue data.
  `void`
  `onGetUserRevenueResponseFailure(String error)`
  Call containing error message if getUserRevenue() fails.

- ## Method Details

  - ### onGetUserRevenueResponse

    void onGetUserRevenueResponse(com.tapjoy.TJUserRevenue userRevenue)
    Callback containing the impression-level revenue data.
    Parameters:
      `userRevenue` - The user's revenue data.

  - ### onGetUserRevenueResponseFailure

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