setRepeating

.setRepeating( isRepeating )

Allows you to state if this Sound object will repeat, or not, when it gets to the end.

If isRepeating is true, then it will repeat, and if false, then it will stop when it reaches the end. If this is set to repeat, It will repeat multiple times, if it is played for long enough.

See also

isRepeating