AudioFocus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum AudioFocus
type AudioFocus =
- Inheritance
-
AudioFocus
Fields
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. |
GainTransientExclusive | 4 | |
GainTransientMayDuck | 3 | |
Loss | -1 | Used to indicate a loss of audio focus of unknown duration. |
LossTransient | -2 | Used to indicate a transient loss of audio focus. |
LossTransientCanDuck | -3 | |
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.