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: (
value: MediaKeyStatus,
key: BufferSource,
parent: MediaKeyStatusMap,
) => void, thisArg?: any): void;get(keyId: BufferSource): MediaKeyStatus | undefined;
has(keyId: BufferSource): boolean;
keys(): IterableIterator<BufferSource>;
values(): IterableIterator<MediaKeyStatus>;
}var MediaKeyStatusMap: {
prototype: MediaKeyStatusMap;
new (): MediaKeyStatusMap;
};§Methods
§
[[Symbol.iterator]](): IterableIterator<[BufferSource, MediaKeyStatus]>
[src]§
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>
[src]§
forEach(callbackfn: (
[src]value: MediaKeyStatus,
key: BufferSource,
parent: MediaKeyStatusMap,
) => void, thisArg?: any): void§
get(keyId: BufferSource): MediaKeyStatus | undefined
[src]§
has(keyId: BufferSource): boolean
[src]§
keys(): IterableIterator<BufferSource>
[src]§
values(): IterableIterator<MediaKeyStatus>
[src]