Syntax:
[void] sysinfo.stopvibra()
Description:
The stopvibra method immediately interrupts the device vibration that has been started with the startvibra method.
Argument:
This method does not take any arguments.
Return value:
This method does not return a value.
Example code:
function callVibration()
{
// define to vibrate infinitely
var duration = 0;
// get the system defined minimum intensity
var intensity = sysinfo.vibraminintensity
// start vibration
sysinfo.startvibra(duration, intensity);
// press any key to stop vibra
document.addEventListener("keypress", kpListener, false);
}
function kpListiner(event)
{
sysinfo.stopvibra();
document.removeEventListener("keypress", kpListener, false);
}