AudioManager.AudiofocusGain 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 gain of audio focus, or a request of audio focus, of unknown duration.

[Android.Runtime.Register("AUDIOFOCUS_GAIN")]
[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 AudiofocusGain = 1;
[<Android.Runtime.Register("AUDIOFOCUS_GAIN")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioFocus enum directly instead of this field.", true)>]
val mutable AudiofocusGain : Android.Media.AudioFocus

Field Value

Value = 1
Attributes

Remarks

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

Java documentation for android.media.AudioManager.AUDIOFOCUS_GAIN.

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)>