dart / 1 / dart-html / rtcpeerconnection / ondatachannel.html

onDataChannel property

Stream<RtcDataChannelEvent> onDataChannel

Stream of datachannel events handled by this RtcPeerConnection.

Source

@DomName('RTCPeerConnection.ondatachannel')
@DocsEditable()
Stream<RtcDataChannelEvent> get onDataChannel =>
    dataChannelEvent.forTarget(this);

© 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/RtcPeerConnection/onDataChannel.html