Constructor
new SvtaAdManager(player, onEvent)
Parameters:
Name | Type | Description |
---|---|---|
player |
shaka.Player | |
onEvent |
function |
- Implements:
- Source:
Members
onEvent_ :function(!shaka.util.FakeEvent)
Type:
- function(!shaka.util.FakeEvent)
- Source:
trackings_ :Map<string, shaka.extern.AdTrackingInfo>
Type:
- Map<string, shaka.extern.AdTrackingInfo>
- Source:
Methods
addTracking_(trackingsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
trackings |
Array<shaka.extern.AdTrackingInfo> |
- Source:
configure(config)
Called by the AdManager to provide an updated configuration any time it
changes.
Parameters:
Name | Type | Description |
---|---|---|
config |
shaka.extern.AdsConfiguration |
- Source:
createBaseSetupTracking_()
- Source:
createSingleSetupTracking_()
- Source:
createSlidingSetupTracking_()
- Source:
cuepointsChanged_()
- Source:
playbackEnd_()
- Source:
playbackStart_()
- Source:
processTrackingEvent_(type)
Parameters:
Name | Type | Description |
---|---|---|
type |
string |
- Source:
release()
Request that this object release all internal references.
- Implements:
- Source:
sendEvent_(type, dictopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
type |
string | ||
dict |
Map<string, Object> |
<optional> |
- Source:
sendTrackingEvent_(url)
Parameters:
Name | Type | Description |
---|---|---|
url |
string |
- Source:
setupCurrentTracking_()
- Source:
unSetupCurrentTracking_(completeopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
complete |
boolean |
<optional> |
false |
- Source: