Discards all scheduled ad breaks with the given ID. Also stops the current ad break if it has the same ID.
The ID of the ad break which shall be removed from the scheduled ad breaks.
Returns the currently active ad.
Returns the currently active ad break.
Returns the name and version of the currently used advertising module.
Returns true if a linear ad is currently active (playing or paused). Returns false otherwise.
Returns all scheduled ad breaks.
Array containing all the scheduled ad breaks.
Skips the current ad. Has no effect if the ad is not skippable or if no ad is active.
Promise that resolves when the ad has been skipped and the ad player is done with cleanup of events and states.
Generated using TypeDoc