Packagecom.tapjoy.extensions
Classpublic class TapjoyAIR
InheritanceTapjoyAIR Inheritance Object



Public Properties
 PropertyDefined By
  dispatcher : EventDispatcher
[static]
TapjoyAIR
Public Methods
 MethodDefined By
  
actionComplete(actionID:String):void
[static]
TapjoyAIR
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[static]
TapjoyAIR
  
addUserTag(tag:String):void
[static]
TapjoyAIR
  
awardCurrency(amount:int):void
[static]
TapjoyAIR
  
belowConsentAge(isBelowConsentAge:Boolean):void
[static]
TapjoyAIR
  
[static]
TapjoyAIR
  
connect(sdkKey:String, flags:Object = null, connectCallback:TJConnectListener = null):void
[static]
TapjoyAIR
  
[static]
TapjoyAIR
  
Deprecated Since 11.4.0This method has been deprecated since 11.4.0
[static]
TapjoyAIR
  
getSupportURL(currencyID:String = null):String
[static]
TapjoyAIR
  
getVersion():String
[static]
TapjoyAIR
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[static]
TapjoyAIR
  
removeUserTag(tag:String):void
[static]
TapjoyAIR
  
setAppDataVersion(dataVersion:String):void
Deprecated Since 11.11.1This method has been deprecated since 11.11.1
[static]
TapjoyAIR
  
setCurrencyMultiplier(multiplier:Number):void
Deprecated Since 11.4.0This method has been deprecated since 11.4.0
[static]
TapjoyAIR
  
setDebugEnabled(enable:Boolean):void
[static]
TapjoyAIR
  
setGcmSender(senderId:String):void
[static]
TapjoyAIR
  
setUserCohortVariable(variableIndex:int, value:String):void
[static]
TapjoyAIR
  
setUserConsent(consent:String):void
[static]
TapjoyAIR
  
setUserFriendCount(friendCount:int):void
[static]
TapjoyAIR
  
setUserId(userId:String):void
[static]
TapjoyAIR
  
setUserLevel(userLevel:int):void
[static]
TapjoyAIR
  
spendCurrency(amount:int):void
[static]
TapjoyAIR
  
subjectToGDPR(enable:Boolean):void
[static]
TapjoyAIR
  
trackEvent(name:String, category:String = null, parameter1:String = null, parameter2:String = null, values:Object = null):void
[static]
TapjoyAIR
  
trackPurchase(productId:String, currencyCode:String, price:Number, campaignId:String):void
[static]
TapjoyAIR
  
trackPurchaseInAppleAppStore(productId:String, currencyCode:String, productPrice:Number, transactionId:String, campaignId:String):void
[static]
TapjoyAIR
  
trackPurchaseInGooglePlayStore(skuDetails:String, purchaseData:String, dataSignature:String, campaignId:String):void
[static]
TapjoyAIR
Property Detail
dispatcherproperty
public static var dispatcher:EventDispatcher

Method Detail
actionComplete()method
public static function actionComplete(actionID:String):void

Parameters

actionID:String

addEventListener()method 
public static function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)

addUserTag()method 
public static function addUserTag(tag:String):void

Parameters

tag:String

awardCurrency()method 
public static function awardCurrency(amount:int):void

Parameters

amount:int

belowConsentAge()method 
public static function belowConsentAge(isBelowConsentAge:Boolean):void

Parameters

isBelowConsentAge:Boolean

clearUserTags()method 
public static function clearUserTags():void

connect()method 
public static function connect(sdkKey:String, flags:Object = null, connectCallback:TJConnectListener = null):void

Parameters

sdkKey:String
 
flags:Object (default = null)
 
connectCallback:TJConnectListener (default = null)

getCurrencyBalance()method 
public static function getCurrencyBalance():void

getCurrencyMultiplier()method 
public static function getCurrencyMultiplier():Number
Deprecated Since 11.4.0This method has been deprecated since 11.4.0

Returns
Number
getSupportURL()method 
public static function getSupportURL(currencyID:String = null):String

Parameters

currencyID:String (default = null)

Returns
String
getVersion()method 
public static function getVersion():String

Returns
String
removeEventListener()method 
public static function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

removeUserTag()method 
public static function removeUserTag(tag:String):void

Parameters

tag:String

setAppDataVersion()method 
public static function setAppDataVersion(dataVersion:String):void
Deprecated Since 11.11.1This method has been deprecated since 11.11.1

Parameters

dataVersion:String

setCurrencyMultiplier()method 
public static function setCurrencyMultiplier(multiplier:Number):void
Deprecated Since 11.4.0This method has been deprecated since 11.4.0

Parameters

multiplier:Number

setDebugEnabled()method 
public static function setDebugEnabled(enable:Boolean):void

Parameters

enable:Boolean

setGcmSender()method 
public static function setGcmSender(senderId:String):void

Parameters

senderId:String

setUserCohortVariable()method 
public static function setUserCohortVariable(variableIndex:int, value:String):void

Parameters

variableIndex:int
 
value:String

setUserConsent()method 
public static function setUserConsent(consent:String):void

Parameters

consent:String

setUserFriendCount()method 
public static function setUserFriendCount(friendCount:int):void

Parameters

friendCount:int

setUserId()method 
public static function setUserId(userId:String):void

Parameters

userId:String

setUserLevel()method 
public static function setUserLevel(userLevel:int):void

Parameters

userLevel:int

spendCurrency()method 
public static function spendCurrency(amount:int):void

Parameters

amount:int

subjectToGDPR()method 
public static function subjectToGDPR(enable:Boolean):void

Parameters

enable:Boolean

trackEvent()method 
public static function trackEvent(name:String, category:String = null, parameter1:String = null, parameter2:String = null, values:Object = null):void

Parameters

name:String
 
category:String (default = null)
 
parameter1:String (default = null)
 
parameter2:String (default = null)
 
values:Object (default = null)

trackPurchase()method 
public static function trackPurchase(productId:String, currencyCode:String, price:Number, campaignId:String):void

Parameters

productId:String
 
currencyCode:String
 
price:Number
 
campaignId:String

trackPurchaseInAppleAppStore()method 
public static function trackPurchaseInAppleAppStore(productId:String, currencyCode:String, productPrice:Number, transactionId:String, campaignId:String):void

Parameters

productId:String
 
currencyCode:String
 
productPrice:Number
 
transactionId:String
 
campaignId:String

trackPurchaseInGooglePlayStore()method 
public static function trackPurchaseInGooglePlayStore(skuDetails:String, purchaseData:String, dataSignature:String, campaignId:String):void

Parameters

skuDetails:String
 
purchaseData:String
 
dataSignature:String
 
campaignId:String