YouTubeChapter

@Serializable
data class YouTubeChapter(val name: String, val start: @Serializable(with = DurationSerializer::class) Duration, val end: @Serializable(with = DurationSerializer::class) Duration, val duration: @Serializable(with = DurationSerializer::class) Duration)

Representation of a YouTube chapter.

Constructors

Link copied to clipboard
constructor(name: String, start: @Serializable(with = DurationSerializer::class) Duration, end: @Serializable(with = DurationSerializer::class) Duration, duration: @Serializable(with = DurationSerializer::class) Duration)

Properties

Link copied to clipboard
val duration: @Serializable(with = DurationSerializer::class) Duration

the Duration of the chapter

Link copied to clipboard
val end: @Serializable(with = DurationSerializer::class) Duration

the position where the chapter ended

Link copied to clipboard

the name of the chapter

Link copied to clipboard
val start: @Serializable(with = DurationSerializer::class) Duration

the position where the chapter started