Chapter

data class Chapter(val startTimeMs: Long, val endTimeMs: Long, val title: String)(source)

A chapter marker of the current video, defined per video in the Bunny dashboard. The player draws chapters as segments on the seek bar; the list arrives through net.bunny.bunnystreamplayer.PlayerStateListener.onChaptersUpdated.

Constructors

Link copied to clipboard
constructor(startTimeMs: Long, endTimeMs: Long, title: String)

Properties

Link copied to clipboard

chapter end, in milliseconds from the beginning of the video.

Link copied to clipboard

chapter start, in milliseconds from the beginning of the video.

Link copied to clipboard

chapter name shown while scrubbing.