dart / 1.24.3 / dart-html / rtcdatachannel-class.html /

RtcDataChannel class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('RTCDataChannel')
  • @Experimental()

Constants

closeEventEventStreamProvider< 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')
errorEventEventStreamProvider< 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')
messageEventEventStreamProvider< 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')
openEventEventStreamProvider< 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

instanceRuntimeTypeType
@ Deprecated("Internal Use Only"), read-only

Constructors

RtcDataChannel.internal_()

Properties

binaryTypeString
@DocsEditable(), @DomName('RTCDataChannel.binaryType'), read / write
bufferedAmountint
@DocsEditable(), @DomName('RTCDataChannel.bufferedAmount'), read-only
bufferedAmountLowThresholdint
@DocsEditable(), @DomName('RTCDataChannel.bufferedAmountLowThreshold'), @Experimental(), read / write
idint
@DocsEditable(), @DomName('RTCDataChannel.id'), @Experimental(), read-only
labelString
@DocsEditable(), @DomName('RTCDataChannel.label'), read-only
maxRetransmitsint
@DocsEditable(), @DomName('RTCDataChannel.maxRetransmits'), @Experimental(), read-only
maxRetransmitTimeint
@DocsEditable(), @DomName('RTCDataChannel.maxRetransmitTime'), @Experimental(), read-only
negotiatedbool
@DocsEditable(), @DomName('RTCDataChannel.negotiated'), @Experimental(), read-only
onCloseStream< Event>
@DocsEditable(), @DomName('RTCDataChannel.onclose'), read-only

Stream of close events handled by this RtcDataChannel.

onErrorStream< Event>
@DocsEditable(), @DomName('RTCDataChannel.onerror'), read-only

Stream of error events handled by this RtcDataChannel.

onMessageStream< MessageEvent>
@DocsEditable(), @DomName('RTCDataChannel.onmessage'), read-only

Stream of message events handled by this RtcDataChannel.

onOpenStream< Event>
@DocsEditable(), @DomName('RTCDataChannel.onopen'), read-only

Stream of open events handled by this RtcDataChannel.

orderedbool
@DocsEditable(), @DomName('RTCDataChannel.ordered'), @Experimental(), read-only
protocolString
@DocsEditable(), @DomName('RTCDataChannel.protocol'), @Experimental(), read-only
readyStateString
@DocsEditable(), @DomName('RTCDataChannel.readyState'), read-only
reliablebool
@DocsEditable(), @DomName('RTCDataChannel.reliable'), read-only
hashCodeint
read-only, inherited
onEvents
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.

runtimeTypeType
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