AudioFocusRequest

Class of android.media · AudioFocusRequest.java · Android's reference

public final class AudioFocusRequest

A request for audio focus (AudioManager.requestAudioFocus): what it asks and who to tell when it changes.

Nested types

Methods

public int getFocusGain() source
public AudioAttributes getAudioAttributes() source
public boolean acceptsDelayedFocusGain() source
public boolean willPauseWhenDucked() source
public boolean locksFocus() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.