RtcDataChannel class
- Inheritance
-
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- RtcDataChannel
- Annotations
-
- @DocsEditable()
- @DomName('RTCDataChannel')
- @Experimental()
Constants
-
closeEvent →
EventStreamProvider<
Event>
@DocsEditable(), @DomName('RTCDataChannel.closeEvent')
-
Static factory designed to expose
close
events to event handlers that are not necessarily instances of RtcDataChannel.const EventStreamProvider<Event>
('close') -
errorEvent →
EventStreamProvider<
Event>
@DocsEditable(), @DomName('RTCDataChannel.errorEvent')
-
Static factory designed to expose
error
events to event handlers that are not necessarily instances of RtcDataChannel.const EventStreamProvider<Event>
('error') -
messageEvent →
EventStreamProvider<
MessageEvent>
@DocsEditable(), @DomName('RTCDataChannel.messageEvent')
-
Static factory designed to expose
message
events to event handlers that are not necessarily instances of RtcDataChannel.const EventStreamProvider<MessageEvent>
('message') -
openEvent →
EventStreamProvider<
Event>
@DocsEditable(), @DomName('RTCDataChannel.openEvent')
-
Static factory designed to expose
open
events to event handlers that are not necessarily instances of RtcDataChannel.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
-
bufferedAmountLowThreshold →
int
@DocsEditable(), @DomName('RTCDataChannel.bufferedAmountLowThreshold'), @Experimental(), read / write
-
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>
@DocsEditable(), @DomName('RTCDataChannel.onclose'), read-only
-
Stream of
close
events handled by thisRtcDataChannel
. -
onError →
Stream<
Event>
@DocsEditable(), @DomName('RTCDataChannel.onerror'), read-only
-
Stream of
error
events handled by thisRtcDataChannel
. -
onMessage →
Stream<
MessageEvent>
@DocsEditable(), @DomName('RTCDataChannel.onmessage'), read-only
-
Stream of
message
events handled by thisRtcDataChannel
. -
onOpen →
Stream<
Event>
@DocsEditable(), @DomName('RTCDataChannel.onopen'), read-only
-
Stream of
open
events handled by thisRtcDataChannel
. -
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
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.
-
runtimeType →
Type
read-only, inherited
-
A representation of the runtime type of the object.
Operators
-
operator ==(
other) → bool inherited -
The equality operator.
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 inherited -
Invoked when a non-existent method or property is accessed.
-
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void inherited -
toString(
) → String inherited -
Returns the result of the JavaScript objects
toString
method.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/RtcDataChannel-class.html