RTCDataChannelMessage constructor

RTCDataChannelMessage(
  1. String text
)

Construct a text message with a String.

Implementation

RTCDataChannelMessage(String text) {
  this._data = text;
  this._isBinary = false;
}