ClosedCaptionClient class Null safety

Queries related to closed captions of YouTube videos.

Constructors

ClosedCaptionClient(YoutubeHttpClient _httpClient)
Initializes an instance of ClosedCaptionClient

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

get(ClosedCaptionTrackInfo trackInfo) Future<ClosedCaptionTrack>
Gets the actual closed caption track which is identified by the specified metadata.
getManifest(dynamic videoId, {bool autoGenerated = false, List<ClosedCaptionFormat> formats = const [ClosedCaptionFormat.srv1, ClosedCaptionFormat.srv2, ClosedCaptionFormat.srv3, ClosedCaptionFormat.ttml, ClosedCaptionFormat.vtt]}) Future<ClosedCaptionManifest>
Gets the manifest that contains information about available closed caption tracks in the specified video.
getSubTitles(ClosedCaptionTrackInfo trackInfo) Future<String>
Returns the subtitles as a string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited