GoogleApi.YouTube.V3.Model.CaptionSnippet (google_api_you_tube v0.54.0)
View SourceBasic details about a caption track, such as its language and name.
Attributes
-
audioTrackType
(type:String.t
, default:nil
) - The type of audio track associated with the caption track. -
failureReason
(type:String.t
, default:nil
) - The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed. -
isAutoSynced
(type:boolean()
, default:nil
) - Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions. -
isCC
(type:boolean()
, default:nil
) - Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false. -
isDraft
(type:boolean()
, default:nil
) - Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false. @mutable youtube.captions.insert youtube.captions.update -
isEasyReader
(type:boolean()
, default:nil
) - Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false. -
isLarge
(type:boolean()
, default:nil
) - Indicates whether the caption track uses large text for the vision-impaired. The default value is false. -
language
(type:String.t
, default:nil
) - The language of the caption track. The property value is a BCP-47 language tag. -
lastUpdated
(type:DateTime.t
, default:nil
) - The date and time when the caption track was last updated. -
name
(type:String.t
, default:nil
) - The name of the caption track. The name is intended to be visible to the user as an option during playback. -
status
(type:String.t
, default:nil
) - The caption track's status. -
trackKind
(type:String.t
, default:nil
) - The caption track's type. -
videoId
(type:String.t
, default:nil
) - The ID that YouTube uses to uniquely identify the video associated with the caption track. @mutable youtube.captions.insert
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.YouTube.V3.Model.CaptionSnippet{ audioTrackType: String.t() | nil, failureReason: String.t() | nil, isAutoSynced: boolean() | nil, isCC: boolean() | nil, isDraft: boolean() | nil, isEasyReader: boolean() | nil, isLarge: boolean() | nil, language: String.t() | nil, lastUpdated: DateTime.t() | nil, name: String.t() | nil, status: String.t() | nil, trackKind: String.t() | nil, videoId: String.t() | nil }