Package org.w3c.dom.encryptedmedia

Types

JS
1.1

MediaEncryptedEvent

open class MediaEncryptedEvent : Event
JS
1.1

MediaEncryptedEventInit

interface MediaEncryptedEventInit : EventInit
JS
1.1

MediaKeyMessageEvent

Exposes the JavaScript MediaKeyMessageEvent to Kotlin

open class MediaKeyMessageEvent : Event
JS
1.1

MediaKeyMessageEventInit

interface MediaKeyMessageEventInit : EventInit
JS
1.1

MediaKeyMessageType

interface MediaKeyMessageType
JS
1.1

MediaKeys

Exposes the JavaScript MediaKeys to Kotlin

abstract class MediaKeys
JS
1.1

MediaKeySession

Exposes the JavaScript MediaKeySession to Kotlin

abstract class MediaKeySession : EventTarget
JS
1.1

MediaKeySessionType

interface MediaKeySessionType
JS
1.1

MediaKeysRequirement

interface MediaKeysRequirement
JS
1.1

MediaKeyStatus

interface MediaKeyStatus
JS
1.1

MediaKeyStatusMap

Exposes the JavaScript MediaKeyStatusMap to Kotlin

abstract class MediaKeyStatusMap
JS
1.1

MediaKeySystemAccess

Exposes the JavaScript MediaKeySystemAccess to Kotlin

abstract class MediaKeySystemAccess
JS
1.1

MediaKeySystemConfiguration

Exposes the JavaScript MediaKeySystemConfiguration to Kotlin

interface MediaKeySystemConfiguration
JS
1.1

MediaKeySystemMediaCapability

interface MediaKeySystemMediaCapability

Functions

JS
1.1

MediaEncryptedEventInit

fun MediaEncryptedEventInit(
    initDataType: String? = "",
    initData: ArrayBuffer? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): MediaEncryptedEventInit
JS
1.1

MediaKeyMessageEventInit

fun MediaKeyMessageEventInit(
    messageType: MediaKeyMessageType?,
    message: ArrayBuffer?,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): MediaKeyMessageEventInit
JS
1.1

MediaKeySystemConfiguration

fun MediaKeySystemConfiguration(
    label: String? = "",
    initDataTypes: Array<String>? = arrayOf(),
    audioCapabilities: Array<MediaKeySystemMediaCapability>? = arrayOf(),
    videoCapabilities: Array<MediaKeySystemMediaCapability>? = arrayOf(),
    distinctiveIdentifier: MediaKeysRequirement? = MediaKeysRequirement.OPTIONAL,
    persistentState: MediaKeysRequirement? = MediaKeysRequirement.OPTIONAL,
    sessionTypes: Array<String>? = undefined
): MediaKeySystemConfiguration
JS
1.1

MediaKeySystemMediaCapability

fun MediaKeySystemMediaCapability(
    contentType: String? = "",
    robustness: String? = ""
): MediaKeySystemMediaCapability

Companion Object Properties

JS
1.1

EXPIRED

val MediaKeyStatus.Companion.EXPIRED: MediaKeyStatus
JS
1.1

INDIVIDUALIZATION_REQUEST

val MediaKeyMessageType.Companion.INDIVIDUALIZATION_REQUEST: MediaKeyMessageType
JS
1.1

INTERNAL_ERROR

val MediaKeyStatus.Companion.INTERNAL_ERROR: MediaKeyStatus
JS
1.1

LICENSE_RELEASE

val MediaKeyMessageType.Companion.LICENSE_RELEASE: MediaKeyMessageType
JS
1.1

LICENSE_RENEWAL

val MediaKeyMessageType.Companion.LICENSE_RENEWAL: MediaKeyMessageType
JS
1.1

LICENSE_REQUEST

val MediaKeyMessageType.Companion.LICENSE_REQUEST: MediaKeyMessageType
JS
1.1

NOT_ALLOWED

val MediaKeysRequirement.Companion.NOT_ALLOWED: MediaKeysRequirement
JS
1.1

OPTIONAL

val MediaKeysRequirement.Companion.OPTIONAL: MediaKeysRequirement
JS
1.1

OUTPUT_DOWNSCALED

val MediaKeyStatus.Companion.OUTPUT_DOWNSCALED: MediaKeyStatus
JS
1.1

OUTPUT_RESTRICTED

val MediaKeyStatus.Companion.OUTPUT_RESTRICTED: MediaKeyStatus
JS
1.1

PERSISTENT_LICENSE

val MediaKeySessionType.Companion.PERSISTENT_LICENSE: MediaKeySessionType
JS
1.1

RELEASED

val MediaKeyStatus.Companion.RELEASED: MediaKeyStatus
JS
1.1

REQUIRED

val MediaKeysRequirement.Companion.REQUIRED: MediaKeysRequirement
JS
1.1

STATUS_PENDING

val MediaKeyStatus.Companion.STATUS_PENDING: MediaKeyStatus
JS
1.1

TEMPORARY

val MediaKeySessionType.Companion.TEMPORARY: MediaKeySessionType
JS
1.1

USABLE

val MediaKeyStatus.Companion.USABLE: MediaKeyStatus