Sensor API: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
mailto:jmcf@tid.es
mailto:jmcf@tid.es


The Sensor API allows to retrieve values from sensors available from the device. The API is intended to be compatible with existing Web APIs that provide values from device sensors (http://dev.w3.org/geo/api/spec-source-orientation.html).   
The Sensor API allows to retrieve values from sensors available from the device. The API is intended to be compatible with existing concrete Web APIs that provide values from device sensors (http://dev.w3.org/geo/api/spec-source-orientation.html).   




Line 17: Line 17:
     attribute Function onSensorAvailable;
     attribute Function onSensorAvailable;
}
}


interface Sensor : EventTarget {
interface Sensor : EventTarget {
172

edits