172
edits
No edit summary |
|||
Line 61: | Line 61: | ||
interface SensorWatchOptions { | interface SensorWatchOptions { | ||
// High threshold. If the sensor value is higher a data event will be raised | |||
attribute any | attribute any highThreshold; | ||
attribute | // Low threshold. If the sensor value is lower a data event will be raised | ||
attribute double | attribute any lowThreshold; | ||
// Notify only when a relative change in the magnitude meausured by the sensor occurs | |||
attribute double relativeThreshold; | |||
// Interval at which values will be provided by the sensor (milliseconds) | |||
attribute double interval; | |||
}; | }; | ||
edits