ICaptionsCollection class

ICaptionsCollection class

Represents a collection of the closed captions.

The ICaptionsCollection type exposes the following members:

Properties

PropertyDescription
countReturns the number of elements in the collection.
Read-only int.

Returns the closed captions at the specified index. Read-only ICaptions.

Indexer

NameDescription
[index]

Methods

MethodDescription
addAdds WebVTT closed captions to the end of the collection.
addAdds WebVTT closed captions to the end of the collection from a stream.
removeRemoves the specified closed captions from the collection.
remove_atRemoves the closed captions at the specified index.
clearRemoves all closed captions from the collection.

See Also