Chapter

data class Chapter(val name: String, val startTime: Long, val endTime: Long? = null, val skipType: Chapter.SkipType = NONE)

Represents a chapter in a track.

Constructors

Link copied to clipboard
constructor(name: String, startTime: Long, endTime: Long? = null, skipType: Chapter.SkipType = NONE)

Types

Link copied to clipboard

Represents the type of skip behavior for a chapter.

Properties

Link copied to clipboard
val endTime: Long? = null

the end time of the chapter in milliseconds, or null if it is not defined.

Link copied to clipboard

the name of the chapter.

Link copied to clipboard

the type of skip behavior for the chapter.

Link copied to clipboard

the start time of the chapter in milliseconds.