Not documented.
- Annotations
- DocsEditable()
- DomName('RTCDataChannel')
- Experimental()
- Extends
- Object
- EventTarget
- RtcDataChannel
Constants
-
EventStreamProvider<Event>
closeEvent
=
const EventStreamProvider<Event>
('close') -
constStatic factory designed to expose
close
events to event handlers that are not necessarily instances of RtcDataChannel. -
EventStreamProvider<Event>
errorEvent
=
const EventStreamProvider<Event>
('error') -
constStatic factory designed to expose
error
events to event handlers that are not necessarily instances of RtcDataChannel. -
EventStreamProvider<MessageEvent>
messageEvent
=
const EventStreamProvider<MessageEvent>
('message') -
constStatic factory designed to expose
message
events to event handlers that are not necessarily instances of RtcDataChannel. -
EventStreamProvider<Event>
openEvent
=
const EventStreamProvider<Event>
('open') -
constStatic factory designed to expose
open
events to event handlers that are not necessarily instances of RtcDataChannel.
Properties
- String binaryType
-
read / write
- int bufferedAmount
-
read-only
- int id
-
read-only
- String label
-
read-only
- int maxRetransmits
-
read-only
- int maxRetransmitTime
-
read-only
- bool negotiated
-
read-only
- Events on
-
read-only, inheritedThis is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- Stream<Event> onClose
-
read-onlyStream of
close
events handled by thisRtcDataChannel
. - Stream<Event> onError
-
read-onlyStream of
error
events handled by thisRtcDataChannel
. - Stream<MessageEvent> onMessage
-
read-onlyStream of
message
events handled by thisRtcDataChannel
. - Stream<Event> onOpen
-
read-onlyStream of
open
events handled by thisRtcDataChannel
. - bool ordered
-
read-only
- String protocol
-
read-only
- String readyState
-
read-only
- bool reliable
-
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