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: (
            value: MediaKeyStatus,
            key: BufferSource,
            parent: MediaKeyStatusMap,
        ) => void,
        thisArg?: any,
    ): void;
    get(keyId: BufferSource): undefined | MediaKeyStatus;
    has(keyId: BufferSource): boolean;
}

Properties

Methods

Properties

size: number

Methods