BlobEvent

BlobEvent interface represents events associated with a Blob . These blobs are typically, but not necessarily,  associated with media content.

构造函数

BlobEvent()
创建 BlobEvent event with the given parameters.

特性

Inherits properties from its parent Event .

BlobEvent.data 只读
A Blob representing the data associated with the event. The event was fired on the EventTarget because of something happening on that specific Blob .
BlobEvent.timecode 只读
A DOMHighResTimeStamp indicating the difference between the timestamp of the first chunk in data and the timestamp of the first chunk in the first BlobEvent produced by this recorder. Note that the timecode in the first produced BlobEvent does not need to be zero.

方法

No specific method; inherits methods from its parent Event .

规范

规范 状态 Comment
MediaStream 录制
The definition of 'BlobEvent' in that specification.
工作草案 初始定义。

浏览器兼容性

更新 GitHub 上的兼容性数据
Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
BlobEvent Chrome 49 Edge ≤79 Firefox 22 IE No Opera 36 Safari No WebView Android 49 Chrome Android 49 Firefox Android 22 Opera Android 36 Safari iOS No Samsung Internet Android 5.0
BlobEvent() 构造函数
Chrome 49 Edge ≤79 Firefox 22 IE No Opera 36 Safari No WebView Android 49 Chrome Android 49 Firefox Android 22 Opera Android 36 Safari iOS No Samsung Internet Android 5.0
data
Chrome 49 Edge ≤79 Firefox 22 IE No Opera 36 Safari No WebView Android 49 Chrome Android 49 Firefox Android 22 Opera Android 36 Safari iOS No Samsung Internet Android 5.0
timecode
Chrome 57 Edge ≤79 Firefox ? IE No Opera 44 Safari No WebView Android 57 Chrome Android 57 Firefox Android ? Opera Android 43 Safari iOS No Samsung Internet Android 7.0

图例

完整支持
完整支持
不支持
不支持
兼容性未知
兼容性未知
实验。期望将来行为有所改变。
实验。期望将来行为有所改变。

另请参阅