TR* Objects
TRError (Android only)
This object is only available on Android. On iOS, errors are returned as
NSError
objects.
Class Members
code
: Int- The error code
description
(android): String- The error message
localizedDescription
(ios): String- The error message
TRReward
Class Members
transactionIdentifier
: String- Is responsible for identifying the transaction in the app.
- This is a unique identifier that should be used when deduplicating reward callbacks in the app or server-to-server
placementTag
: String- The placement tag under which the reward was given
placementIdentifier
: String- The placement identifier under which the reward was given
currencyName
: String- Name of the currency that was rewarded
- This is the value of Currency Name in the dashboard, not the Display Name
payoutEventType
: String. one ofprofile_reward
- This is the reward type when a user successfully completes the profiling flow
partial_payout
- This is the reward type when a user has started a suvey and then is disqualified while taking it
full_payout
- This is the reward type when a user has successfully completed a survey
rewardAmount
: Int- The amount of the currency that was rewarded, in your currency