ICaptionsCollection

ICaptionsCollection interface

Represents a collection of the closed captions.

public interface ICaptionsCollection : IEnumerable<ICaptions>

Properties

NameDescription
Count { get; }Returns the number of elements in the collection. Read-only Int32.
Item { get; }Returns the closed captions at the specified index. Read-only ICaptions.

Methods

NameDescription
Add(string, Stream)Adds WebVTT closed captions to the end of the collection from a stream.
Add(string, string)Adds WebVTT closed captions to the end of the collection.
Clear()Removes all closed captions from the collection.
Remove(ICaptions)Removes the specified closed captions from the collection.
RemoveAt(int)Removes the closed captions at the specified index.

See Also