Attributes | Name and Description |
---|---|
|
caplin.fx.services.CurrencyPairService()
|
Attributes | Name and Description |
---|---|
|
void
addCurrencyPairListener(String sCurrencyPair, Function fCallback)
Registers a function that is executed whenever the available currency pairs for the logged in user change. |
|
void
removeCurrencyPairListener(function fCallback)
Removes the previously registered CurrencyPairListener. |
►
caplin.fx.services.CurrencyPairService()
►
void
addCurrencyPairListener(String sCurrencyPair, Function fCallback)
Registers a function that is executed whenever the available currency pairs for the logged in user change.
String | sCurrencyPair | oTradeRestoredListener The listener to add. |
Function | fCallback | Function with 2 parameters: 1) The user that the currency pairs are for 2) An array of Currency Pairs. |
►
void
removeCurrencyPairListener(function fCallback)
Removes the previously registered CurrencyPairListener.
function | fCallback | The previously registered callback function for removal. |