MediaTextTrackCue Class
A cue of a text track of a media resource, exposed as a VTTCue.
public sealed class MediaTextTrackCue : IEquatable<MediaTextTrackCue>- Implements
Constructors
| Name | Description |
|---|---|
| MediaTextTrackCue(double, double, string, string, string) | A cue of a text track of a media resource, exposed as a VTTCue. |
MediaTextTrackCue(double, double, string, string, string)
MediaBackend.csA cue of a text track of a media resource, exposed as a VTTCue.
public MediaTextTrackCue(double StartTime, double EndTime, string Text, string Id = "", string Settings = "")Parameters
StartTimedouble- The start time of the cue, in seconds.
EndTimedouble- The end time of the cue, in seconds (positive infinity for an unbounded cue).
Textstring- The text of the cue (WebVTT cue text).
Idstring- The identifier of the cue, or an empty string.
Settingsstring- The WebVTT cue settings of the cue (e.g.
line:0 align:start), or an empty string.
Properties
| Name | Description |
|---|---|
| EndTime | The end time of the cue, in seconds (positive infinity for an unbounded cue). |
| Id | The identifier of the cue, or an empty string. |
| Settings | The WebVTT cue settings of the cue (e.g. line:0 align:start), or an empty string. |
| StartTime | The start time of the cue, in seconds. |
| Text | The text of the cue (WebVTT cue text). |
EndTime
MediaBackend.csSettings
MediaBackend.csStartTime
MediaBackend.csText
MediaBackend.csMethods
| Name | Description |
|---|---|
| Deconstruct(double, double, string, string, string) | |
| Equals(MediaTextTrackCue?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Deconstruct(double, double, string, string, string)
Equals overloads
Equals(MediaTextTrackCue?)
public bool Equals(MediaTextTrackCue? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(MediaTextTrackCue?, MediaTextTrackCue?) | |
| operator !=(MediaTextTrackCue?, MediaTextTrackCue?) |
operator ==(MediaTextTrackCue?, MediaTextTrackCue?)
public static bool operator ==(MediaTextTrackCue? left, MediaTextTrackCue? right)No documentation is available.
operator !=(MediaTextTrackCue?, MediaTextTrackCue?)
public static bool operator !=(MediaTextTrackCue? left, MediaTextTrackCue? right)No documentation is available.