Not documented.
- Inheritance
- Object
- EventTarget
- RtcDataChannel
- Annotations
- DocsEditable()
- DomName('RTCDataChannel')
- Experimental()
Constants
-
EventStreamProvider<Event>
closeEvent
= const EventStreamProvider<Event>
('close') -
const
Static factory designed to expose
close
events to event handlers that are not necessarily instances of RtcDataChannel.… -
EventStreamProvider<Event>
errorEvent
= const EventStreamProvider<Event>
('error') -
const
Static factory designed to expose
error
events to event handlers that are not necessarily instances of RtcDataChannel.… -
EventStreamProvider<MessageEvent>
messageEvent
= const EventStreamProvider<MessageEvent>
('message') -
const
Static factory designed to expose
message
events to event handlers that are not necessarily instances of RtcDataChannel.… -
EventStreamProvider<Event>
openEvent
= const EventStreamProvider<Event>
('open') -
const
Static factory designed to expose
open
events to event handlers that are not necessarily instances of RtcDataChannel.…
Properties
- binaryType → String
-
read / write
- bufferedAmount → int
-
read-only
- id → int
-
read-only
- label → String
-
read-only
- maxRetransmits → int
-
read-only
- maxRetransmitTime → int
-
read-only
- negotiated → bool
-
read-only
- on → Events
-
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- onClose → Stream<Event>
-
read-only
Stream of
close
events handled by thisRtcDataChannel
. - onError → Stream<Event>
-
read-only
Stream of
error
events handled by thisRtcDataChannel
. - onMessage → Stream<MessageEvent>
-
read-only
Stream of
message
events handled by thisRtcDataChannel
. - onOpen → Stream<Event>
-
read-only
Stream of
open
events handled by thisRtcDataChannel
. - ordered → bool
-
read-only
- protocol → String
-
read-only
- readyState → String
-
read-only
- reliable → bool
-
read-only
Methods
-
addEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
close(
) → void -
dispatchEvent(
Event event) → bool -
inherited
-
removeEventListener(
String type, dynamic listener(Event event), [bool useCapture]) → void -
inherited
-
send(
data) → void -
sendBlob(
Blob data) → void -
sendByteBuffer(
ByteBuffer data) → void -
sendString(
String data) → void -
sendTypedData(
TypedData data) → void