Observer

interface Observer

Java version of C++ DataChannelObserver.

Functions

Link copied to clipboard
abstract fun onBufferedAmountChange(previousAmount: Long)
The data channel's bufferedAmount has changed.
Link copied to clipboard
abstract fun onMessage(buffer: DataChannel.Buffer)
A data buffer was successfully received.
Link copied to clipboard
abstract fun onStateChange()
The data channel state has changed.