RtcDataChannel class - dart:html library (original) (raw)

Inheritance

Annotations

Properties

binaryTypeString?

getter/setter pair

bufferedAmountint?

no setter

bufferedAmountLowThresholdint?

getter/setter pair

hashCodeint

The hash code for this object.

no setterinherited

idint?

no setter

labelString?

no setter

maxRetransmitsint?

no setter

maxRetransmitTimeint?

no setter

negotiatedbool?

no setter

onEvents

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

no setterinherited

onCloseStream<Event>

Stream of close events handled by this RtcDataChannel.

no setter

onErrorStream<Event>

Stream of error events handled by this RtcDataChannel.

no setter

onMessageStream<MessageEvent>

Stream of message events handled by this RtcDataChannel.

no setter

onOpenStream<Event>

Stream of open events handled by this RtcDataChannel.

no setter

orderedbool?

no setter

protocolString?

no setter

readyStateString?

no setter

reliablebool?

no setter

runtimeTypeType

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.