The internal function name should be rv_setVibration(isVibrated) {}.
You could use rv_setVibration(enabled) {} too.