TimeRanges Class

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

public sealed class TimeRanges

Properties

NameDescription
LengthGets the number of ranges in the object.

Gets the number of ranges in the object.

public uint Length { get; }

Methods

NameDescription
End(uint)Returns the end time, in seconds, of the range at the given index; throws when the index is out of range.
Start(uint)Returns the start time, in seconds, of the range at the given index; throws when the index is out of range.

Returns the end time, in seconds, of the range at the given index; throws when the index is out of range.

public double End(uint index)

Start(uint)

MediaElements.cs

Returns the start time, in seconds, of the range at the given index; throws when the index is out of range.

public double Start(uint index)