/ fm / liveswitch / IPluginDataChannel
Interface: IPluginDataChannel
fm.liveswitch.IPluginDataChannel
An interface for COM usage.
Table of contents
Methods
- GetHandle
- GetId
- GetInfo
- GetIsInternal
- GetLabel
- GetOrdered
- GetSubprotocol
- Initialize
- PrepareAndSendBytes
- PrepareAndSendString
- SetOnReceive
- SetOnStateChange
Methods
GetHandle
▸ GetHandle(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:9
GetId
▸ GetId(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:10
GetInfo
▸ GetInfo(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:11
GetIsInternal
▸ GetIsInternal(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:12
GetLabel
▸ GetLabel(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:13
GetOrdered
▸ GetOrdered(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:14
GetSubprotocol
▸ GetSubprotocol(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:15
Initialize
▸ Initialize(label
: string, ordered
: boolean, subprotocol
: string, internalChannel
: boolean): void
Parameters:
Name | Type |
---|---|
label |
string |
ordered |
boolean |
subprotocol |
string |
internalChannel |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:16
PrepareAndSendBytes
▸ PrepareAndSendBytes(data
: string, promise
: Object): void
Parameters:
Name | Type |
---|---|
data |
string |
promise |
Object |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:17
PrepareAndSendString
▸ PrepareAndSendString(dataString
: string, promise
: Object): void
Parameters:
Name | Type |
---|---|
dataString |
string |
promise |
Object |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:18
SetOnReceive
▸ SetOnReceive(callback
: Object): void
Parameters:
Name | Type |
---|---|
callback |
Object |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:19
SetOnStateChange
▸ SetOnStateChange(callback
: Object): void
Parameters:
Name | Type |
---|---|
callback |
Object |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/IPluginDataChannel.ts:20