Interface MediaKeyStatusMap

This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs. Available only in secure contexts.

MDN Reference

interface MediaKeyStatusMap {
    size: number;
    forEach(callbackfn, thisArg?): void;
    get(keyId): MediaKeyStatus;
    has(keyId): boolean;
}

Properties

Methods

Properties

size: number

Methods

  • Parameters

    • callbackfn: Object
    • Optional thisArg: any

    Returns void

  • Parameters

    Returns boolean