sb.timerClearInterval(id)
This function stops an existing timer from firing.
Parameters:
id The id representing the timer
Example:
var idval;
function cbFunc() {
print("CB FUNC HAS BEEN CALLED");
}
//Call cb_func every 5 seconds
function cbSetInterval() {
idval = sb.timerSetInterval(cbFunc, 2000);
}
function cb_clear_interval() {
sb.timerClearInterval(idval);
}