Udostępnij za pośrednictwem


AudioManager.AudiofocusRequestDelayed Field

Definition

Caution

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

A focus change request whose granting is delayed: the request was successful, but the requester will only be granted audio focus once the condition that prevented immediate granting has ended.

[Android.Runtime.Register("AUDIOFOCUS_REQUEST_DELAYED", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioFocusRequest enum directly instead of this field.", true)]
public const Android.Media.AudioFocusRequest AudiofocusRequestDelayed = 2;
[<Android.Runtime.Register("AUDIOFOCUS_REQUEST_DELAYED", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.AudioFocusRequest enum directly instead of this field.", true)>]
val mutable AudiofocusRequestDelayed : Android.Media.AudioFocusRequest

Field Value

Value = 2
Attributes

Remarks

A focus change request whose granting is delayed: the request was successful, but the requester will only be granted audio focus once the condition that prevented immediate granting has ended. See #requestAudioFocus(AudioFocusRequest) and AudioFocusRequest.Builder#setAcceptsDelayedFocusGain(boolean)

Java documentation for android.media.AudioManager.AUDIOFOCUS_REQUEST_DELAYED.

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