- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- RtcDataChannel
- Annotations
- @DocsEditable()
- @DomName('RTCDataChannel')
- @Experimental()
Constants
- closeEvent → EventStreamProvider<Event>
-
Static factory designed to expose
close
events to event handlers that are not necessarily instances of RtcDataChannel.@DocsEditable(), @DomName('RTCDataChannel.closeEvent')const EventStreamProvider<Event>
('close') - errorEvent → EventStreamProvider<Event>
-
Static factory designed to expose
error
events to event handlers that are not necessarily instances of RtcDataChannel.@DocsEditable(), @DomName('RTCDataChannel.errorEvent')const EventStreamProvider<Event>
('error') - messageEvent → EventStreamProvider<MessageEvent>
-
Static factory designed to expose
message
events to event handlers that are not necessarily instances of RtcDataChannel.@DocsEditable(), @DomName('RTCDataChannel.messageEvent')const EventStreamProvider<MessageEvent>
('message') - openEvent → EventStreamProvider<Event>
-
Static factory designed to expose
open
events to event handlers that are not necessarily instances of RtcDataChannel.@DocsEditable(), @DomName('RTCDataChannel.openEvent')const EventStreamProvider<Event>
('open')
Static Properties
- instanceRuntimeType → Type
-
@Deprecated("Internal Use Only"), read-only
Constructors
Properties
- binaryType → String
-
@DocsEditable(), @DomName('RTCDataChannel.binaryType'), read / write
- bufferedAmount → int
-
@DocsEditable(), @DomName('RTCDataChannel.bufferedAmount'), read-only
- id → int
-
@DocsEditable(), @DomName('RTCDataChannel.id'), @Experimental(), read-only
- label → String
-
@DocsEditable(), @DomName('RTCDataChannel.label'), read-only
- maxRetransmits → int
-
@DocsEditable(), @DomName('RTCDataChannel.maxRetransmits'), @Experimental(), read-only
- maxRetransmitTime → int
-
@DocsEditable(), @DomName('RTCDataChannel.maxRetransmitTime'), @Experimental(), read-only
- negotiated → bool
-
@DocsEditable(), @DomName('RTCDataChannel.negotiated'), @Experimental(), read-only
- onClose → Stream<Event>
-
Stream of
close
events handled by thisRtcDataChannel
.@DocsEditable(), @DomName('RTCDataChannel.onclose'), read-only - onError → Stream<Event>
-
Stream of
error
events handled by thisRtcDataChannel
.@DocsEditable(), @DomName('RTCDataChannel.onerror'), read-only - onMessage → Stream<MessageEvent>
-
Stream of
message
events handled by thisRtcDataChannel
.@DocsEditable(), @DomName('RTCDataChannel.onmessage'), read-only - onOpen → Stream<Event>
-
Stream of
open
events handled by thisRtcDataChannel
.@DocsEditable(), @DomName('RTCDataChannel.onopen'), read-only - ordered → bool
-
@DocsEditable(), @DomName('RTCDataChannel.ordered'), @Experimental(), read-only
- protocol → String
-
@DocsEditable(), @DomName('RTCDataChannel.protocol'), @Experimental(), read-only
- readyState → String
-
@DocsEditable(), @DomName('RTCDataChannel.readyState'), read-only
- reliable → bool
-
@DocsEditable(), @DomName('RTCDataChannel.reliable'), read-only
- hashCode → int
-
read-only, inherited
- on → Events
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
close(
) → void -
@DocsEditable(), @DomName('RTCDataChannel.close')
-
send(
data) → void -
sendBlob(
Blob data) → void -
@DocsEditable(), @DomName('RTCDataChannel.sendBlob')
-
sendByteBuffer(
ByteBuffer data) → void -
@DocsEditable(), @DomName('RTCDataChannel.sendByteBuffer')
-
sendString(
String data) → void -
@DocsEditable(), @DomName('RTCDataChannel.sendString')
-
sendTypedData(
TypedData data) → void -
@DocsEditable(), @DomName('RTCDataChannel.sendTypedData')
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
toString(
) → String -
Returns the result of the JavaScript objects
toString
method.inherited