Edit in GitHubLog an issue

Class: default

Constructors

new default()

Copied to your clipboard
new default(
channelMessengerDelegate,
_sourceChannel,
_sourceProtocolVersion,
_targetProtocolVersion,
_protocolHandlersModule?): default

Parameters

ParameterType
channelMessengerDelegate
_sourceChannel
_sourceProtocolVersion
_targetProtocolVersion
_protocolHandlersModule?

Returns

default

Methods

addTarget()

Copied to your clipboard
addTarget(targetChannel, targetChannelInfo): void

Parameters

ParameterType
targetChannel
targetChannelInfo

Returns

void


removeTarget()

Copied to your clipboard
removeTarget(targetChannel): void

Parameters

ParameterType
targetChannel

Returns

void


hasTarget()

Copied to your clipboard
hasTarget(targetChannel): boolean

Parameters

ParameterType
targetChannel

Returns

boolean


getTarget()

Copied to your clipboard
getTarget(targetChannel): undefined | TargetChannelInfo

Parameters

ParameterType
targetChannel

Returns

undefined | TargetChannelInfo


sendMessage()

Copied to your clipboard
sendMessage<T>(
targetChannel,
message,
requestId?): boolean

Type Parameters

Type Parameter
T extends MessageType

Parameters

ParameterType
targetChannel
message
requestId?
string

Returns

boolean


removeListener()

Copied to your clipboard
removeListener(): void

Returns

void

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.