다음을 통해 공유


AudioFocus Enum

Definition

public enum AudioFocus
type AudioFocus = 
Inheritance
AudioFocus

Fields

Name Value Description
LossTransientCanDuck -3
LossTransient -2

Used to indicate a transient loss of audio focus.

Loss -1

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

None 0
Gain 1

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

GainTransient 2

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

GainTransientMayDuck 3
GainTransientExclusive 4

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