public static interface DataChannel.Observer
Modifier and Type | Method and Description |
---|---|
void |
onBufferedAmountChange(long previousAmount)
The data channel's bufferedAmount has changed.
|
void |
onMessage(DataChannel.Buffer buffer)
A data buffer was successfully received.
|
void |
onStateChange()
The data channel state has changed.
|
void onBufferedAmountChange(long previousAmount)
void onStateChange()
void onMessage(DataChannel.Buffer buffer)
6.4.1