VibrationInfo GetVibrationCount(string)

This method allows monitoring of the number of vibrations or earthquakes detected.

Security

Trust Level Required: Full Trust

Parameters

Name Description
devName (Optional) string
The name of the device. If not supplied, the first matching configured device of this type will be used

Return

An VibrationInfo object that can be parsed as JSON.

Remarks

Examples


function getVibrationCount() {
	var count = KioOmronEnviroSensor.GetVibrationCount();
	updateResults(JSON.stringify(count, null, 2));
}
	

Requirements

KioWare for Windows version 8.16 or greater.