Partager via


AudioManager.AudiofocusLossTransientCanDuck 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 transient loss of audio focus where the loser of the audio focus can lower its output volume if it wants to continue playing (also referred to as "ducking"), as the new focus owner doesn't require others to be silent.

[Android.Runtime.Register("AUDIOFOCUS_LOSS_TRANSIENT_CAN_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 AudiofocusLossTransientCanDuck = -3;
[<Android.Runtime.Register("AUDIOFOCUS_LOSS_TRANSIENT_CAN_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 AudiofocusLossTransientCanDuck : Android.Media.AudioFocus

Field Value

Value = -3
Attributes

Remarks

Used to indicate a transient loss of audio focus where the loser of the audio focus can lower its output volume if it wants to continue playing (also referred to as "ducking"), as the new focus owner doesn't require others to be silent.

Java documentation for android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_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