SensorData GetLatestSensorData(string)
This method provides information on ambient conditions related to atmospheric 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 SensorData object that can be parsed as JSON.
Remarks
Examples
function getDeviceInfo() {
var sensorData = KioOmronEnviroSensor.GetLatestSensorData(devName);
alert(JSON.stringify(sensorData, null, 2));
}
Requirements
KioWare for Windows version 8.16 or greater.