SoundPool.Pause(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pause a playback stream.
[Android.Runtime.Register("pause", "(I)V", "")]
public void Pause (int streamID);
[<Android.Runtime.Register("pause", "(I)V", "")>]
member this.Pause : int -> unit
Parameters
- streamID
- Int32
a streamID returned by the play() function
- Attributes
Remarks
Pause a playback stream.
Pause the stream specified by the streamID. This is the value returned by the play() function. If the stream is playing, it will be paused. If the stream is not playing (e.g. is stopped or was previously paused), calling this function will have no effect.
Java documentation for android.media.SoundPool.pause(int)
.
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.