equo-comm
EquoComm
Kind: global class
-
-
.send(actionId, [payload])
⇒Promise.<(T|any)>
-
.on(userEventActionId, onSuccessCallback, onErrorCallback, args)
⇒void
-
.remove(userEventActionId)
⇒void
-
equoComm.send(actionId, [payload])
⇒ Promise.<(T|any)>
Sends an action to execute in java with the given payload.
Kind: instance method of EquoComm
Param | Type | Description |
---|---|---|
actionId |
|
|
[payload] |
|
Optional |
equoComm.on(userEventActionId, onSuccessCallback, onErrorCallback, args)
⇒ void
Listens for an event with the given name.
Kind: instance method of EquoComm
Param | Type | Description |
---|---|---|
userEventActionId |
|
|
onSuccessCallback |
|
|
onErrorCallback |
|
Optional |
args |
|
Optional |
equoComm.remove(userEventActionId)
⇒ void
Removes an event with the given name
Kind: instance method of EquoComm
Param | Type |
---|---|
userEventActionId |
|