AdAudioFocus

interface AdAudioFocus

The renderer's handle on audio focus for ad playback. request/abandon bracket a break; focus transitions while held arrive via AdAudioFocusCallbacks.

Inheritors

Functions

Link copied to clipboard
abstract fun abandon(): Boolean

Give focus back (break ended, or the viewer muted the session). Idempotent.

Link copied to clipboard

Take (or keep) media audio focus for ad playback. Idempotent.