SourceBufferList

abstract external class SourceBufferList : EventTarget

Functions

addEventListener
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
dispatchEvent
Link copied to clipboard
fun dispatchEvent(event: Event): Boolean
removeEventListener
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)

Properties

length
Link copied to clipboard
open val length: Int
onaddsourcebuffer
Link copied to clipboard
open var onaddsourcebuffer: (Event) -> dynamic?
onremovesourcebuffer
Link copied to clipboard
open var onremovesourcebuffer: (Event) -> dynamic?

Extensions

get
Link copied to clipboard
inline operator fun SourceBufferList.get(index: Int): SourceBuffer?