RtcDataChannel class
- Inheritance
-
- Object
- EventTarget
- RtcDataChannel
- Annotations
-
- @Native("RTCDataChannel,DataChannel")
Properties
- binaryType ↔ String?
-
getter/setter pair
- bufferedAmount → int?
-
no setter
- bufferedAmountLowThreshold ↔ int?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
no setter
- label → String?
-
no setter
- maxRetransmits → int?
-
no setter
- maxRetransmitTime → int?
-
no setter
- negotiated → bool?
-
no setter
- on → Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
no setterinherited
-
onClose
→ Stream<
Event> -
Stream of
close
events handled by this RtcDataChannel.no setter -
onError
→ Stream<
Event> -
Stream of
error
events handled by this RtcDataChannel.no setter -
onMessage
→ Stream<
MessageEvent> -
Stream of
message
events handled by this RtcDataChannel.no setter -
onOpen
→ Stream<
Event> -
Stream of
open
events handled by this RtcDataChannel.no setter - ordered → bool?
-
no setter
- protocol → String?
-
no setter
- readyState → String?
-
no setter
- reliable → bool?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
close(
) → void -
dispatchEvent(
Event event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
inherited
-
send(
dynamic data) → void -
sendBlob(
Blob data) → void -
sendByteBuffer(
ByteBuffer data) → void -
sendString(
String data) → void -
sendTypedData(
TypedData data) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
closeEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
close
events to event handlers that are not necessarily instances of RtcDataChannel. -
errorEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
error
events to event handlers that are not necessarily instances of RtcDataChannel. -
messageEvent
→ const EventStreamProvider<
MessageEvent> -
Static factory designed to expose
message
events to event handlers that are not necessarily instances of RtcDataChannel. -
openEvent
→ const EventStreamProvider<
Event> -
Static factory designed to expose
open
events to event handlers that are not necessarily instances of RtcDataChannel.