Condividi tramite


AudioFocusRequestClass.WillPauseWhenDucked Method

Definition

Returns whether the application that would use this AudioFocusRequest would pause when it is requested to duck.

[Android.Runtime.Register("willPauseWhenDucked", "()Z", "", ApiSince=26)]
public bool WillPauseWhenDucked ();
[<Android.Runtime.Register("willPauseWhenDucked", "()Z", "", ApiSince=26)>]
member this.WillPauseWhenDucked : unit -> bool

Returns

the duck/pause behavior.

Attributes

Remarks

Returns whether the application that would use this AudioFocusRequest would pause when it is requested to duck.

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

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