binaryType property
BinaryType
get
binaryType
The property binaryType on the
RTCDataChannel interface is a string which specifies
the type of object which should be used to represent binary data received
on the RTCDataChannel. Values allowed by the
WebSocket.binaryType property are also permitted here:
blob if Blob objects are being used or
arraybuffer if ArrayBuffer objects are being used. The
default is blob.
When a binary message is received on the data channel, the resulting
RTCDataChannel.message_event event's MessageEvent.data property is an
object of
the type specified by the binaryType.
Implementation
external BinaryType get binaryType;
set
binaryType
(BinaryType value)
Implementation
external set binaryType(BinaryType value);