getAllNonLinearAds

fun getAllNonLinearAds(receiver: (ads: List<NonLinearAdsData>) -> Unit, includeOffTimelineAds: Boolean = false)

Get the list of all the nonlinear ads that are currently being tracked. Optionally, the returned list can include off-timeline nonlinear ads (such as pause ads).

Parameters

receiver

The function to be called to deliver the list of the nonlinear ads.

includeOffTimelineAds

Whether the returned list should include off-timeline nonlinear ads. If it isn't specified, the default value is false.