Class: shaka.offline.OfflineUri

Constructor

new OfflineUri(type, mechanism, cell, key)

Parameters:
Name Type Description
type string
mechanism string
cell string
key number
Source:

Members

(private, constant) asString_ :string

Type:
  • string
Source:

(private, constant) cell_ :string

Type:
  • string
Source:

(private, constant) key_ :number

Type:
  • number
Source:

(private, constant) mechanism_ :string

Type:
  • string
Source:

(private, constant) type_ :string

Type:
  • string
Source:

Methods

(static) manifest(mechanism, cell, key) → (non-null) {shaka.offline.OfflineUri}

Parameters:
Name Type Description
mechanism string
cell string
key number
Source:
Returns:
Type
shaka.offline.OfflineUri

(static) parse(uri) → (nullable) {shaka.offline.OfflineUri}

Parameters:
Name Type Description
uri string
Source:
Returns:
Type
shaka.offline.OfflineUri

(static) segment(mechanism, cell, key) → (non-null) {shaka.offline.OfflineUri}

Parameters:
Name Type Description
mechanism string
cell string
key number
Source:
Returns:
Type
shaka.offline.OfflineUri

cell() → {string}

Source:
Returns:
Type
string

isManifest() → {boolean}

Source:
Returns:
Type
boolean

isSegment() → {boolean}

Source:
Returns:
Type
boolean

key() → {number}

Source:
Returns:
Type
number

mechanism() → {string}

Source:
Returns:
Type
string

toString()

Source: