ClosedCaptionManifest class
Manifest that contains information about available closed caption tracks in a specific video.
Constructors
-
ClosedCaptionManifest(Iterable<
ClosedCaptionTrackInfo> tracks) - Initializes an instance of ClosedCaptionManifest
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tracks
→ UnmodifiableListView<
ClosedCaptionTrackInfo> -
Available closed caption tracks.
final
Methods
-
getByLanguage(
String language, {ClosedCaptionFormat? format, bool autoGenerated = false}) → List< ClosedCaptionTrackInfo> -
Gets all the closed caption tracks in the specified language and format.
If
autoGenerated
is true auto generated tracks are included as well. Returns an empty list of no track is found. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited