scheduleAd

abstract fun scheduleAd(adItem: AdItem)

Schedules the adItem for playback.

Has no effect if

  • there is no active playback session

  • connected to a cast-compatible device