AudioFocus AudioFocus Enum

Definition

public enum AudioFocus
type AudioFocus = 
Inheritance
AudioFocusAudioFocus

Fields

Gain Gain 1

Used to indicate a gain of audio focus, or a request of audio focus, of unknown duration.

GainTransient GainTransient 2

Used to indicate a temporary gain or request of audio focus, anticipated to last a short amount of time.

GainTransientExclusive GainTransientExclusive 4
GainTransientMayDuck GainTransientMayDuck 3
Loss Loss -1

Used to indicate a loss of audio focus of unknown duration.

LossTransient LossTransient -2

Used to indicate a transient loss of audio focus.

LossTransientCanDuck LossTransientCanDuck -3
None None 0

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to