Aracılığıyla paylaş


AudioFocusRequestClass.FocusGain Property

Definition

Returns the type of audio focus request configured for this AudioFocusRequest.

public Android.Media.AudioFocus FocusGain { [Android.Runtime.Register("getFocusGain", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getFocusGain", "()I", "", ApiSince=26)>]
member this.FocusGain : Android.Media.AudioFocus

Property Value

one of AudioManager#AUDIOFOCUS_GAIN, AudioManager#AUDIOFOCUS_GAIN_TRANSIENT, AudioManager#AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK, and AudioManager#AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE.

Attributes

Remarks

Returns the type of audio focus request configured for this AudioFocusRequest.

Java documentation for android.media.AudioFocusRequest.getFocusGain().

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