MicrosoftNSJS.Advertising.AdScheduler constructor
Initializes a new instance of the AdScheduler class.
Syntax
var adScheduler = new MicrosoftNSJS.Advertising.AdScheduler(mediaPlayerElement, options);
Parameters
- mediaPlayerElement [in]
-
Type: HTMLElement
The MediaPlayer element into which the ads will be scheduled. If null or undefined, the ad schedule data will be retrieved and made available, but not automatically played.
- options [in]
-
Type: Object
The set of properties and values to apply to the new AdScheduler.
Remarks
The constructor will create some default options if you do not override them with the options parameter.
Requirements
|
Client |
Windows 10 |
|---|---|
|
Namespace |
MicrosoftNSJS.Advertising |
|
Library |
|
See also