AdScheduler.onAllComplete event
Raised when the main content reaches the end and any scheduled post-roll ads are also ended.
Syntax
function handler(adScheduler) { /* Your code */ } // addEventListener syntax adScheduler.addEventListener("allcomplete", handler); adScheduler.removeEventListener("allcomplete", handler); - or - adScheduler.onallcomplete = handler;
Event handler parameters
- adScheduler
-
Type: AdScheduler
The AdScheduler that raised the event.
Remarks
If there are no post-roll ads, the event fires when the main content ends.
Requirements
|
Client |
Windows 10 |
|---|---|
|
Namespace |
MicrosoftNSJS.Advertising |
|
Library |
|
See also
Show: