shouldPlayAdBreak
The ShouldPlayAdBreakCallback that will be called every time an ad break is about to start. The return value decides whether the ad break will start playing or will be discarded.
Limitations
When seeking over multiple ad breaks in a VMAP scheduled using AdSourceType.Ima, only the last ad break is expected to be played by the IMA SDK. As a result:
This callback will only be triggered for the last ad break in such scenarios
Any earlier ad breaks will be skipped and not played
The same behavior occurs if a SourceOptions.startOffset is configured that skips ad breaks scheduled before the specified startOffset
.