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 codedescription
(String, Android) - The error messagelocalizedDescription
(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 flowpartial_payout
- User started a survey but was disqualifiedfull_payout
- User successfully completed a survey
- Type of payout event. Possible values:
rewardAmount
(Int)- Amount of currency rewarded (in your app's currency)