SponsorblockSegment

@Serializable
data class SponsorblockSegment(val category: Category, val start: @Serializable(with = DurationSerializer::class) Duration, val end: @Serializable(with = DurationSerializer::class) Duration)

Representation of a Sponsorblock segment.

Constructors

Link copied to clipboard
constructor(category: Category, start: @Serializable(with = DurationSerializer::class) Duration, end: @Serializable(with = DurationSerializer::class) Duration)

Properties

Link copied to clipboard

the Category of this segment

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

the position where the segment ended

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

the position where the segment started