Class: EmpTech

EmpTech


new EmpTech()

EmpTech - General tech implementation, not specific to a certain tech

Methods


addAudioTrack(kind, label, language [, enabled])

addAudioTrack

Parameters:
Name Type Argument Default Description
kind string
label string
language string
enabled boolean <optional>
false
Returns:

Track

Type
Object

base()

es6-mixins adds the method to the prototype
meaning the second time this object is created the methods are already on the prototype
therefore do not merge duplicates


program(currentProgram)

Set current Program

Parameters:
Name Type Description
currentProgram Object
Returns:

currentProgram

Type
Object

remainingTime()

Get remainingTime

Returns:

remainingTime

Type
number

VOD(currentVOD)

Set current VOD

Parameters:
Name Type Description
currentVOD Object
Returns:

currentVOD

Type
Object