TrackEvent Class

https://html.spec.whatwg.org/multipage/media.html#trackevent

public sealed class TrackEvent : Event
Inheritance
Event TrackEvent

Constructors

NameDescription
TrackEvent(string, TrackEventInit?)Creates a track event with the given type and initialization dictionary.

TrackEvent(string, TrackEventInit?)

MediaTracks.cs

Creates a track event with the given type and initialization dictionary.

public TrackEvent(string type, TrackEventInit? eventInitDict = null)

Properties

NameDescription
TrackGets the track of the event: an AudioTrack or a VideoTrack, or null.

Gets the track of the event: an AudioTrack or a VideoTrack, or null.

public object? Track { get; }