Interface: shaka.extern.IAd

Extends

Methods

canSkipNow() → {boolean}

Source:
Returns:
Type
boolean

getDuration() → {number}

Source:
Returns:
Type
number

getMinSuggestedDuration() → {number}

Gets the minimum suggested duration. Defaults to being equivalent to getDuration() for server-side ads.
Source:
See:
Returns:
Type
number

getPositionInSequence() → {number}

Source:
Returns:
Type
number

getRemainingTime() → {number}

Source:
Returns:
Type
number

getSequenceLength() → {number}

Source:
Returns:
Type
number

getTimeUntilSkippable() → {number}

Source:
Returns:
Type
number

getVolume() → {number}

Source:
Returns:
Type
number

isMuted() → {boolean}

Source:
Returns:
Type
boolean

isPaused() → {boolean}

Source:
Returns:
Type
boolean

isSkippable() → {boolean}

Source:
Returns:
Type
boolean

release()

Request that this object release all internal references.
Inherited From:
Source:

resize(width, height)

Parameters:
Name Type Description
width number
height number
Source:

setMuted(muted)

Parameters:
Name Type Description
muted boolean
Source:

setVolume(volume)

Parameters:
Name Type Description
volume number
Source: