has method

Returns true if the status of the key identified by keyId is known.

Syntax

var boolean = MediaKeyStatusMap.has(keyId);

Parameters

keyId

Type: BufferSource

The key ID of the key.

Return value

Type: boolean

Returns true or false.

Standards information

See also

MediaKeyStatusMap

 

 

Show: