Show / Hide Table of Contents

Class CaptionSnippet

Basic details about a caption track, such as its language and name.

Inheritance
System.Object
CaptionSnippet
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class CaptionSnippet : IDirectResponseSchema

Properties

AudioTrackType

The type of audio track associated with the caption track.

Declaration
[JsonProperty("audioTrackType")]
public virtual string AudioTrackType { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

FailureReason

The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.

Declaration
[JsonProperty("failureReason")]
public virtual string FailureReason { get; set; }
Property Value
Type Description
System.String

IsAutoSynced

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.

Declaration
[JsonProperty("isAutoSynced")]
public virtual bool? IsAutoSynced { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsCC

Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.

Declaration
[JsonProperty("isCC")]
public virtual bool? IsCC { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsDraft

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

Declaration
[JsonProperty("isDraft")]
public virtual bool? IsDraft { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsEasyReader

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.

Declaration
[JsonProperty("isEasyReader")]
public virtual bool? IsEasyReader { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsLarge

Indicates whether the caption track uses large text for the vision-impaired. The default value is false.

Declaration
[JsonProperty("isLarge")]
public virtual bool? IsLarge { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Language

The language of the caption track. The property value is a BCP-47 language tag.

Declaration
[JsonProperty("language")]
public virtual string Language { get; set; }
Property Value
Type Description
System.String

LastUpdated

The date and time when the caption track was last updated. The value is specified in ISO 8601 format.

Declaration
[JsonProperty("lastUpdated")]
public virtual string LastUpdated { get; set; }
Property Value
Type Description
System.String

Name

The name of the caption track. The name is intended to be visible to the user as an option during playback.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Status

The caption track's status.

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
System.String

TrackKind

The caption track's type.

Declaration
[JsonProperty("trackKind")]
public virtual string TrackKind { get; set; }
Property Value
Type Description
System.String

VideoId

The ID that YouTube uses to uniquely identify the video associated with the caption track. @mutable youtube.captions.insert

Declaration
[JsonProperty("videoId")]
public virtual string VideoId { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top