CaptionSnippet class
Basic details about a caption track, such as its language and name.
Constructors
Properties
- audioTrackType ↔ String?
-
The type of audio track associated with the caption track.
Possible string values are:
getter/setter pair
- failureReason ↔ String?
-
The reason that YouTube failed to process the caption track.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAutoSynced ↔ bool?
-
Indicates whether YouTube synchronized the caption track to the audio
track in the video.
getter/setter pair
- isCC ↔ bool?
-
Indicates whether the track contains closed captions for the deaf and hard
of hearing.
getter/setter pair
- isDraft ↔ bool?
-
Indicates whether the caption track is a draft.
getter/setter pair
- isEasyReader ↔ bool?
-
Indicates whether caption track is formatted for "easy reader," meaning it
is at a third-grade level for language learners.
getter/setter pair
- isLarge ↔ bool?
-
Indicates whether the caption track uses large text for the
vision-impaired.
getter/setter pair
- language ↔ String?
-
The language of the caption track.
getter/setter pair
- lastUpdated ↔ DateTime?
-
The date and time when the caption track was last updated.
getter/setter pair
- name ↔ String?
-
The name of the caption track.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
The caption track's status.
Possible string values are:
getter/setter pair
- trackKind ↔ String?
-
The caption track's type.
Possible string values are:
getter/setter pair
- videoId ↔ String?
-
The ID that YouTube uses to uniquely identify the video associated with
the caption track.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited