v1.8.0
  • Solutions
    • Multiplatform Mobile
    • Multiplatform for other platforms
    • Server-side
    • Web frontend
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← 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
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains