Interface MediaKeyStatusMap
interface MediaKeyStatusMap {
size: number;
"[iterator]"(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
forEach(
callbackfn: (
value: MediaKeyStatus,
key: BufferSource,
parent: MediaKeyStatusMap,
) => void,
thisArg?: any,
): void;
get(keyId: BufferSource): MediaKeyStatus;
has(keyId: BufferSource): boolean;
keys(): MediaKeyStatusMapIterator<BufferSource>;
values(): MediaKeyStatusMapIterator<MediaKeyStatus>;
}
size: number;
"[iterator]"(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;
forEach(
callbackfn: (
value: MediaKeyStatus,
key: BufferSource,
parent: MediaKeyStatusMap,
) => void,
thisArg?: any,
): void;
get(keyId: BufferSource): MediaKeyStatus;
has(keyId: BufferSource): boolean;
keys(): MediaKeyStatusMapIterator<BufferSource>;
values(): MediaKeyStatusMapIterator<MediaKeyStatus>;
}
Methods
[iterator]
- "[iterator]"(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>
Returns MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>
entries
- entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>
Returns MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>
forEach
- forEach(
callbackfn: (
value: MediaKeyStatus,
key: BufferSource,
parent: MediaKeyStatusMap,
) => void,
thisArg?: any,
): void Parameters
- callbackfn: (value: MediaKeyStatus, key: BufferSource, parent: MediaKeyStatusMap) => void
Optional
thisArg: any
Returns void
get
- get(keyId: BufferSource): MediaKeyStatus
Parameters
- keyId: BufferSource
Returns MediaKeyStatus
has
- has(keyId: BufferSource): boolean
Parameters
- keyId: BufferSource
Returns boolean
keys
- keys(): MediaKeyStatusMapIterator<BufferSource>
Returns MediaKeyStatusMapIterator<BufferSource>
values
- values(): MediaKeyStatusMapIterator<MediaKeyStatus>
Returns MediaKeyStatusMapIterator<MediaKeyStatus>
MDN Reference