BlobEvent Class

The event that delivers the data of a MediaRecorder (https://w3c.github.io/mediacapture-record/#blobevent-section).

public sealed class BlobEvent : Event
Inheritance
Event BlobEvent

Constructors

NameDescription
BlobEvent(string, BlobEventInit)Creates an event.

BlobEvent(string, BlobEventInit)

MediaRecorder.cs

Creates an event.

public BlobEvent(string type, BlobEventInit eventInitDict)

Parameters

type string
The type of the event.
eventInitDict BlobEventInit
The initialization dictionary, with the data.

See also

Properties

NameDescription
DataGets the recorded data.
TimecodeGets the time of the first data of the blob, in milliseconds since the start of the recording.

Gets the recorded data.

public Blob Data { get; }

Gets the time of the first data of the blob, in milliseconds since the start of the recording.

public double Timecode { get; }