Android.Media.AudioManager.AudiofocusGainTransient Field
Used to indicate a temporary gain or request of audio focus, anticipated to last a short amount of time.

Value: 2

Syntax

[Android.Runtime.Register("AUDIOFOCUS_GAIN_TRANSIENT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioFocus enum directly instead of this field.")]
public const AudioFocus AudiofocusGainTransient

See Also

AudioManager.RequestAudioFocus(.IOnAudioFocusChangeListener, Android.Media.Stream, Android.Media.Stream)

Remarks

Used to indicate a temporary gain or request of audio focus, anticipated to last a short amount of time. Examples of temporary changes are the playback of driving directions, or an event notification.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8