AdScheduler class
Retrieves advertisements from an ad server and schedules them into an existing video timeline.
Syntax
var adScheduler = new MicrosoftNSJS.Advertising.AdScheduler();
Members
The AdScheduler class has these types of members:
Constructors
The AdScheduler class has these constructors.
| Constructor | Description |
|---|---|
| AdScheduler | Initializes a new instance of the AdScheduler class. |
Methods
The AdScheduler class has these methods.
| Method | Description |
|---|---|
| dispose | Releases resources and unregisters listeners used by the AdScheduler. |
| requestSchedule | Requests an ad schedule from the server and insert it into a MediaPlayer timeline (if MediaPlayer was provided). |
Requirements
|
Minimum supported client |
Windows 10 |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
Windows 10 Mobile |
|
Namespace |
MicrosoftNSJS.Advertising |
|
Metadata |
|
Show: