Interface: shaka.ads.InterstitialAdSession.Tracker

Extends

Methods

onEvent(type)

Called for every ad event of the interstitial. May be called again with the same event when deferred data is resolved.
Parameters:
Name Type Description
type string
Source:

onProgress(previous, position)

Called when media between two positions (relative to the start of the interstitial) was played at normal speed.
Parameters:
Name Type Description
previous number
position number
Source:

release()

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

resolve() → {Promise}

Resolves data required for measurement that is not available yet.
Source:
Returns:
Type
Promise