MediaSource

Exposes the JavaScript MediaSource to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
var onsourceclose: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onsourceended: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onsourceopen: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1

Functions

Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun endOfStream(error: EndOfStreamError = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun removeSourceBuffer(sourceBuffer: SourceBuffer)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1