SensorData GetLatestSensorFlags(string)

This method provides information on ambient conditions related to atmospheric data. It can be used to monitor thresholds for the sensor data.

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

A SensorFlags object that can be parsed as JSON.

Remarks

Examples


function getLatestSensorFlags() {
	var sensorFlags = KioOmronEnviroSensor.GetLatestSensorFlags();
	alert(JSON.stringify(sensorFlags, null, 2));
}
	

Requirements

KioWare for Windows version 8.16 or greater.