MediaKeyStatusMap object
A read-only map of Key IDs to the current status of the associated key.
Members
The MediaKeyStatusMap object has these types of members:
Methods
The MediaKeyStatusMap object has these methods.
| Method | Description |
|---|---|
| forEach |
Call callback once for each key-value pair present in the MediaKeyStatus map. |
| get |
Returns the MediaKeyStatus of the key identified by keyId. |
| has |
Returns true if the status of the key identified by keyId is known. |
Properties
The MediaKeyStatusMap object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
The number of known keys. |
Standards information
Show: