setCurrentIndex

abstract fun setCurrentIndex(index: Int)

Sets the current video to the specified index.

Throws

when index <0 or index is larger than the size of the video list.