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

asString_ :string

Type:
  • string
Source:

cell_ :string

Type:
  • string
Source:

key_ :number

Type:
  • number
Source:

mechanism_ :string

Type:
  • string
Source:

type_ :string

Type:
  • string
Source:

Methods

manifest(mechanism, cell, key) → {shaka.offline.OfflineUri}

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

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

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

segment(mechanism, cell, key) → {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: