addCuePoints

open fun addCuePoints(context: IAdContext)

Given an instance of IAdContext, parses the Ad slots contained in the context and generates CuePoints. It will generate one Cuepoint for PreRoll Ads, one for PostRoll, and individual cue points for the midroll and overlay.

Parameters

context

A populated IAdContext (i.e. it contains ad information) from which to create CuePoints

See also

CuePoint
IAdContext