MediaStreamTrackEventInit Class

The initialization dictionary of a MediaStreamTrackEvent (https://w3c.github.io/mediacapture-main/#dom-mediastreamtrackeventinit).

public sealed class MediaStreamTrackEventInit : EventInit
Inheritance
EventInit MediaStreamTrackEventInit

Constructors

NameDescription
MediaStreamTrackEventInit()

MediaStreamTrackEventInit()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public MediaStreamTrackEventInit()

No documentation is available.

Properties

NameDescription
TrackGets the track of the event.

Gets the track of the event.

public required MediaStreamTrack Track { get; init; }