web api instance property
PresentationConnection: binaryType property
Limited availabilitySecure context
When a PresentationConnection object is created, its binaryType IDL attribute MUST be set to the string "arraybuffer". Upon getting, the attribute MUST return its most recent value (the value it was last set as). Upon setting, the user agent MUST set the IDL attribute to the new value.
[!NOTE] The
binaryTypeattribute allows authors to control how binary data is exposed to scripts. By setting the attribute to"blob", binary data is returned inBlobform; by setting it to"arraybuffer", it is returned inArrayBufferform. The attribute defaults to"arraybuffer". This attribute has no effect on data sent in a string form.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.