amount:int
[read-only]
The currency balance returned by the event.
Implementation public function get amount():int
currencyName:String
[read-only]
The currency name returned by the event.
Implementation public function get currencyName():String
public function TJEarnedCurrencyEvent(type:String, pCurrencyName:String, pAmount:int, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a TapjoyCurrencyEvent object to pass as a parameter to event listeners.
Parameters | type:String — The type of the event, accessible as TapjoyCurrencyEvent.type.
|
|
| pCurrencyName:String — The name of the currency that the event is returning.
|
|
| pAmount:int — The amount of earned currency
|
|
| bubbles:Boolean (default = false ) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
|
|
| cancelable:Boolean (default = false ) — Determines whether the Event object can be canceled. The default value is false.
|
public static const EARNED_CURRENCY:String = EARNED_CURRENCY