EventSettings GetEventSettings(int, string)

This function returns threshold settings for the given sensor event type.

Security

Trust Level Required: Full Trust

Parameters

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

Return

A List of SensorEventSettings or an AccelEventSettings objects that can be parsed as JSON.

Remarks

Examples

				
function getEventSettings() {
	var eventType = document.getElementById('eventType').selectedIndex;
	var eventSettings = KioOmronEnviroSensor.GetEventSettings(eventType);
	alert(JSON.stringify(eventSettings, null, 2));
}
	

Requirements

KioWare for Windows version 8.16 or greater.