ShouldPlayAdBreakCallback

Can be implemented to receive a callback every time an ad break is about to start.

See also

Functions

Link copied to clipboard
abstract fun shouldPlayAdBreak(adBreak: AdBreak): Boolean

Decides whether the ad break should be played or discarded. Returning true will play the ad break, returning false will discard it.