次の方法で共有


AudioManager.AudiofocusGainTransientMayDuck Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.AudioFocus enum directly instead of this field.

Used to indicate a temporary request of audio focus, anticipated to last a short amount of time, and where it is acceptable for other audio applications to keep playing after having lowered their output level (also referred to as "ducking").

[Android.Runtime.Register("AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioFocus enum directly instead of this field.", true)]
public const Android.Media.AudioFocus AudiofocusGainTransientMayDuck = 3;
[<Android.Runtime.Register("AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioFocus enum directly instead of this field.", true)>]
val mutable AudiofocusGainTransientMayDuck : Android.Media.AudioFocus

Field Value

Value = 3
Attributes

Remarks

Used to indicate a temporary request of audio focus, anticipated to last a short amount of time, and where it is acceptable for other audio applications to keep playing after having lowered their output level (also referred to as "ducking"). Examples of temporary changes are the playback of driving directions where playback of music in the background is acceptable.

Java documentation for android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK.

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

See also

  • <xref:Android.Media.AudioManager.RequestAudioFocus(.IOnAudioFocusChangeListener%2c+Android.Media.Stream%2c+Android.Media.Stream)>