Class: shaka.polyfill.PatchedMediaKeysApple.MediaKeyStatusMap

An implementation of MediaKeyStatusMap. This fakes a map with a single key ID.

Constructor

new MediaKeyStatusMap()

An implementation of MediaKeyStatusMap. This fakes a map with a single key ID.

Implements:
  • MediaKeyStatusMap
Source:
To Do:
  • Consolidate the MediaKeyStatusMap types in these polyfills.

Members

size :number

Type:
  • number
Source:

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: