Class: shaka.polyfill.PatchedMediaKeysApple.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

getStatus() → {string|undefined}

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

setStatus(status)

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