Class: shaka.polyfill.PatchedMediaKeysWebkit.MediaKeyStatusMap

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
Source:

size :number

Type:
  • number
Source:

(private) status_ :string|undefined

Type:
  • string | undefined
Source:

Methods

forEach()

Source:

get()

Source:

getStatus() → {string|undefined}

An internal method used by the session to get key status.
Source:
Returns:
Type
string | undefined

has()

Source:

setStatus(status)

An internal method used by the session to set key status.
Parameters:
Name Type Description
status string | undefined
Source: