← Docs
kotlin-stdlib / org.w3c.dom.encryptedmedia / MediaKeys

MediaKeys

JS
1.1
abstract class MediaKeys
(source)

Exposes the JavaScript MediaKeys to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript MediaKeys to Kotlin

MediaKeys ( )

Functions

JS
1.1

createSession

fun createSession (
sessionType : MediaKeySessionType = definedExternally
) : MediaKeySession
JS
1.1

setServerCertificate

fun setServerCertificate (
serverCertificate : dynamic
) : Promise < Boolean >
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .