SourceBuffer

abstract class SourceBuffer : EventTarget, JsAny

Exposes the JavaScript SourceBuffer to Kotlin

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var mode: AppendMode
Link copied to clipboard
open var onabort: (Event) -> Unit?
Link copied to clipboard
open var onerror: (Event) -> Unit?
Link copied to clipboard
open var onupdate: (Event) -> Unit?
Link copied to clipboard
open var onupdateend: (Event) -> Unit?
Link copied to clipboard
open var onupdatestart: (Event) -> Unit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val updating: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
fun abort()
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?)
fun addEventListener(type: String, callback: EventListener?)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun addEventListener(type: String, callback: (Event) -> Unit?, options: AddEventListenerOptions)
fun addEventListener(type: String, callback: EventListener?, options: Boolean)
Link copied to clipboard
fun appendBuffer(data: JsAny?)
Link copied to clipboard
Link copied to clipboard
fun remove(start: Double, end: Double)
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: Boolean)
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: EventListenerOptions)
fun removeEventListener(type: String, callback: EventListener?, options: Boolean)