TapJoyPlugin class

Constructors

TapJoyPlugin()
constructor method

Properties

hashCode int
The hash code for this object.
no setterinherited
placements List<TJPlacement>
Array of placements that you added.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPlacement(TJPlacement tjPlacement) Future<bool?>
Add placement
awardCurrency(int amount) Future<void>
award currency balance, does NOT return, set setAwardCurrencyHandler to get notified with result
connect({required String androidApiKey, required String iOSApiKey, required bool debug}) Future<bool?>
connect to TapJoy, all fields required.
getCurrencyBalance() Future<void>
get currency balance, does NOT return, set setGetCurrencyBalanceHandler to get notified with result
getIOSATTAuth() Future<IOSATTAuthResult>
get iOS App Tracking Authentication status, returns IOSATTAuthResult enum
isConnected() Future<bool?>
check if connected to TapJoy, returns Bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAwardCurrencyHandler(TJAwardCurrencyHandler handler) → void
set Award currency handler which returns String currencyName, int amount, String error
setConnectionResultHandler(TJConnectionResultHandler handler) → void
Set connection result handler which returns TapJoyConnectionResult
setEarnedCurrencyAlertHandler(TJEarnedCurrencyAlertHandler handler) → void
set Earned currency Alert handler which returns String currencyName, int amount, String error
setGetCurrencyBalanceHandler(TJGetCurrencyBalanceHandler handler) → void
set Get currency Balance handler which returns String currencyName, int amount, String error
setSpendCurrencyHandler(TJSpendCurrencyHandler handler) → void
set Spend currency handler which returns String currencyName, int amount, String error
setUserID({required String userID}) Future<void>
set user ID
spendCurrency(int amount) Future<void>
spend currency balance, does NOT return, set setSpendCurrencyHandler to get notified with result
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

shared TapJoyPlugin
getter/setter pair