setRepeatCount method
Set repeat count: 0 = off, >0 = repeat N times, -1 = infinite.
Implementation
void setRepeatCount(int count) {
_repeatCount = count;
_currentRepeat = 0;
}
Set repeat count: 0 = off, >0 = repeat N times, -1 = infinite.
void setRepeatCount(int count) {
_repeatCount = count;
_currentRepeat = 0;
}