TrackEvent Class
https://html.spec.whatwg.org/multipage/media.html#trackevent
public sealed class TrackEvent : Event- Inheritance
EventTrackEvent
Constructors
| Name | Description |
|---|---|
| TrackEvent(string, TrackEventInit?) | Creates a track event with the given type and initialization dictionary. |
TrackEvent(string, TrackEventInit?)
MediaTracks.csCreates a track event with the given type and initialization dictionary.
public TrackEvent(string type, TrackEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Track | Gets the track of the event: an AudioTrack or a VideoTrack, or null. |
Track
MediaTracks.csGets the track of the event: an AudioTrack or a VideoTrack, or null.
public object? Track { get; }