Windows apps
Collapse the table of content
Expand the table of content

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.

ConstructorDescription
AdScheduler Initializes a new instance of the AdScheduler class.

 

Methods

The AdScheduler class has these methods.

MethodDescription
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

Ad.js

 

 

Show:
© 2017 Microsoft