/ fm / liveswitch / IExternalDataChannel
Interface: IExternalDataChannel
fm.liveswitch.IExternalDataChannel
Hierarchy
IExternal<IInternalDataChannel>
↳ IExternalDataChannel
Implemented by
Table of contents
Methods
- addOnStateChange
- getId
- getInfo
- getIsInternal
- getLabel
- getOnReceive
- getOrdered
- getState
- getSubprotocol
- removeOnStateChange
- sendDataBytes
- sendDataString
- setOnReceive
Methods
addOnStateChange
▸ addOnStateChange(value
: IAction1<IExternalDataChannel>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<IExternalDataChannel> |
Returns: void
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:9
getId
▸ getId(): string
Returns: string
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:10
getInfo
▸ getInfo(): DataChannelInfo
Returns: DataChannelInfo
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:11
getIsInternal
▸ getIsInternal(): boolean
Returns: boolean
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:12
getLabel
▸ getLabel(): string
Returns: string
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:13
getOnReceive
▸ getOnReceive(): IAction1<DataChannelReceiveArgs>
Returns: IAction1<DataChannelReceiveArgs>
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:14
getOrdered
▸ getOrdered(): boolean
Returns: boolean
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:15
getState
▸ getState(): DataChannelState
Returns: DataChannelState
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:16
getSubprotocol
▸ getSubprotocol(): string
Returns: string
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:17
removeOnStateChange
▸ removeOnStateChange(value
: IAction1<IExternalDataChannel>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<IExternalDataChannel> |
Returns: void
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:18
sendDataBytes
▸ sendDataBytes(dataBytes
: DataBuffer): Future<Object>
Parameters:
Name | Type |
---|---|
dataBytes |
DataBuffer |
Returns: Future<Object>
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:19
sendDataString
▸ sendDataString(dataString
: string): Future<Object>
Parameters:
Name | Type |
---|---|
dataString |
string |
Returns: Future<Object>
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:20
setOnReceive
▸ setOnReceive(value
: IAction1<DataChannelReceiveArgs>): void
Parameters:
Name | Type |
---|---|
value |
IAction1<DataChannelReceiveArgs> |
Returns: void
Inherited from: IDataChannel
Defined in: Generated/TypeScript/fm.liveswitch/IDataChannel.ts:21