Table of Contents

TTMSFNCWXWebRTCDataChannels.GetChannelByName Method

Finds the channel whose name matches the given value.

API unit family: TMSFNCWXWebRTC Declaring type: TTMSFNCWXWebRTCDataChannels

Syntax

function GetChannelByName(AName: string): TTMSFNCWXWebRTCDataChannel;

Parameters

Name Description
AName The channel name to search for.

Returns

The matching channel, or nil when no channel has the given name.