Sensor API: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
== Goals ==
Proposal for a new Sensor API. A generic API to retrieve values from sensors.  
Proposal for a new Sensor API. A generic API to retrieve values from sensors.  
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). 


Author: José Manuel Cantera (Telefónica I+D)  
Author: José Manuel Cantera (Telefónica I+D)  
Line 5: Line 9:
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 concrete Web APIs that provide values from device sensors (http://dev.w3.org/geo/api/spec-source-orientation.html). 
== Status ==
 
First draft provided
 
== Proposed API ==


interface SensorManager : EventTarget {
interface SensorManager : EventTarget {
172

edits

Navigation menu