add

open fun add(video: Video)

Adds the video to the end of the video list.

Parameters

video

open fun add(index: Int, video: Video)

Adds the video to the video list at the specified index.

Parameters

index
video

Throws

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