addListener


Purpose

Adds a listener that intercepts the events.

Signature

addListener( callbacks )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callbacks Passed to deliver the event to the target application. undefined required

Callback structure

The InterAppCommunicator listener's callbacks object can be structured as follows:

{
	onEvent: function(data, senderId)
}

Methods

Name Description Return type
onEvent

Passes an event that has been sent from a sender application.

undefined

Related topics

InterAppCommunicator
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...