InterAppCommunicator


Purpose

Represents an object that enables sending events from one web application to another.

Caution

It cannot be guaranteed that the event will either be delivered to the target application or processed.

You can access the object by using the launchbox.InterAppCommunicator reference.

Module

This object belongs to the Interapp Communicator product module.

Constants

Name Description
FAILURE_CODES_APP_DOES_NOT_EXIST Denotes that the operation has failed due to fact that the target application does not exist on the device.
FAILURE_CODES_APP_IS_NOT_STARTED Denotes that the operation has failed due to fact that the target application is not running.
START_CAUSE_INTER_APP_COMMUNICATION Denotes that an incoming message has caused the target application to initiate.

Methods

Name Description Return type
addListener

Adds a listener that intercepts the events.

undefined
removeListener

Removes a previously registered event listener.

undefined
sendEvent

Sends an event to a selected web application.

undefined

Related topics

Overview
Public API reference
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...