Skip to main content
Version: 3.x

TR* Objects

TRError (Android only)

Platform note: This object is only available on Android. iOS uses NSError objects for errors.

Properties

  • code (Int) - The error code
  • description (String, Android) - The error message
  • localizedDescription (String, iOS) - The error message

TRReward

Properties

  • transactionIdentifier (String)

    • Unique identifier for the transaction
    • Use this for deduplicating reward callbacks in your app or server-to-server implementation
  • placementTag (String)

    • The placement tag where the reward was earned
  • placementIdentifier (String)

    • The placement identifier where the reward was earned
  • currencyName (String)

    • Name of the rewarded currency
    • Note: This is the "Currency Name" from the dashboard, not the "Display Name"
  • payoutEventType (String)

    • Type of payout event. Possible values:
      • profile_reward - User completed the profiling flow
      • partial_payout - User started a survey but was disqualified
      • full_payout - User successfully completed a survey
  • rewardAmount (Int)

    • Amount of currency rewarded (in your app's currency)