SoundPool.Stop(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.
Stop a playback stream.
[Android.Runtime.Register("stop", "(I)V", "")]
public void Stop (int streamID);
[<Android.Runtime.Register("stop", "(I)V", "")>]
member this.Stop : int -> unit
Parameters
- streamID
- Int32
a streamID returned by the play() function
- Attributes
Remarks
Stop a playback stream.
Stop the stream specified by the streamID. This is the value returned by the play() function. If the stream is playing, it will be stopped. It also releases any native resources associated with this stream. If the stream is not playing, it will have no effect.
Java documentation for android.media.SoundPool.stop(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.