IXDMChannelManager interface

Registry of XDM channels kept per target frame/window

Methods

addChannel(Window, string)

Add an XDM channel for the given target window/iframe

removeChannel(IXDMChannel)

Removes an XDM channel, allowing it to be disposed

Method Details

addChannel(Window, string)

Add an XDM channel for the given target window/iframe

function addChannel(window: Window, targetOrigin?: string): IXDMChannel

Parameters

window

Window

Target iframe window to communicate with

targetOrigin

string

Url of the target iframe (if known)

Returns

removeChannel(IXDMChannel)

Removes an XDM channel, allowing it to be disposed

function removeChannel(channel: IXDMChannel)

Parameters

channel
IXDMChannel

The channel to remove from the channel manager