MediaKeySystemPermissionRequest

class MediaKeySystemPermissionRequest(pointer: <Error class: unknown class><<Error class: unknown class>>) : PermissionRequest

A permission request for using an EME Content Decryption Module.

WebKitMediaKeySystemPermissionRequest represents a request for permission to decide whether WebKit should use the given CDM to access protected media when requested through the MediaKeySystem API.

When a WebKitMediaKeySystemPermissionRequest is not handled by the user, it is denied by default.

When handling this permission request the application may perform additional installation of the requested CDM, unless it is already present on the host system.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

val webkitMediaKeySystemPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val webkitPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun allow()

Allow the action which triggered this request.

Link copied to clipboard
open fun deny()

Deny the action which triggered this request.