Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MediaKeyStatusMap

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

interface MediaKeyStatusMap {
readonly size: number;
[[Symbol.iterator]](): IterableIterator<[BufferSource, MediaKeyStatus]>;
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
forEach(callbackfn: () => void, thisArg?: any): void;
get(keyId: BufferSource): MediaKeyStatus | undefined;
has(keyId: BufferSource): boolean;
keys(): IterableIterator<BufferSource>;
values(): IterableIterator<MediaKeyStatus>;
}
var MediaKeyStatusMap: {
prototype: MediaKeyStatusMap;
}
;

§Properties

§
readonly size: number
[src]

§Methods

§
[[Symbol.iterator]](): IterableIterator<[BufferSource, MediaKeyStatus]>
[src]
§
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>
[src]
§
forEach(callbackfn: () => void, thisArg?: any): void
[src]
§
get(keyId: BufferSource): MediaKeyStatus | undefined
[src]
§
has(keyId: BufferSource): boolean
[src]
§
keys(): IterableIterator<BufferSource>
[src]
§
values(): IterableIterator<MediaKeyStatus>
[src]