SoundPool.SetLoop(Int32, 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.
Set loop mode.
[Android.Runtime.Register("setLoop", "(II)V", "")]
public void SetLoop (int streamID, int loop);
[<Android.Runtime.Register("setLoop", "(II)V", "")>]
member this.SetLoop : int * int -> unit
Parameters
- streamID
- Int32
a streamID returned by the play() function
- loop
- Int32
loop mode (0 = no loop, -1 = loop forever)
- Attributes
Remarks
Java documentation for android.media.SoundPool.setLoop(int, 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.