balance:int
[read-only]
The currency balance returned by the event.
Implementation public function get balance():int
currencyName:String
[read-only]
The currency name returned by the event.
Implementation public function get currencyName():String
public function TJCurrencyEvent(type:String, pCurrencyName:String, pBalance: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.
|
|
| pBalance:int — The currency balance after currency event.
|
|
| 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 AWARD_CURRENCY_FAILURE:String = AWARD_CURRENCY_FAILURE
public static const AWARD_CURRENCY_SUCCESS:String = AWARD_CURRENCY_SUCCESS
public static const GET_CURRENCY_BALANCE_FAILURE:String = GET_CURRENCY_BALANCE_FAILURE
public static const GET_CURRENCY_BALANCE_SUCCESS:String = GET_CURRENCY_BALANCE_SUCCESS
public static const SPEND_CURRENCY_FAILURE:String = SPEND_CURRENCY_FAILURE
public static const SPEND_CURRENCY_SUCCESS:String = SPEND_CURRENCY_SUCCESS