Dela via


SoundPool.AutoPause Method

Definition

Pause all active streams.

[Android.Runtime.Register("autoPause", "()V", "")]
public void AutoPause ();
[<Android.Runtime.Register("autoPause", "()V", "")>]
member this.AutoPause : unit -> unit
Attributes

Remarks

Pause all active streams.

Pause all streams that are currently playing. This function iterates through all the active streams and pauses any that are playing. It also sets a flag so that any streams that are playing can be resumed by calling autoResume().

Java documentation for android.media.SoundPool.autoPause().

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