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

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;
}

属性

方法

属性

size: number

方法