Constructor
new MediaKeyStatusMap()
An implementation of MediaKeyStatusMap.
This fakes a map with a single key ID.
- Implements:
- MediaKeyStatusMap
- Source:
Members
-
(private, static, constant, non-null) KEY_ID_ :ArrayBuffer
-
Type:
- ArrayBuffer
-
size :number
-
Type:
- number
-
(private) status_ :string|undefined
-
Type:
- string | undefined
Methods
-
forEach()
-
get()
-
getStatus() → {string|undefined}
-
An internal method used by the session to get key status.
Returns:
- Type
- string | undefined
-
has()
-
setStatus(status)
-
An internal method used by the session to set key status.
Parameters:
Name Type Description status
string | undefined