-
Notifications
You must be signed in to change notification settings - Fork 72
/
generic-sensor.json
44 lines (44 loc) · 1.14 KB
/
generic-sensor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"spec": {
"title": "Generic Sensor API",
"url": "https://w3c.github.io/sensors/"
},
"events": [
{
"src": {
"format": "fire an event phrasing",
"href": "https://w3c.github.io/sensors/#ref-for-concept-event-fire%E2%91%A0"
},
"href": "https://w3c.github.io/sensors/#ref-for-concept-event-fire%E2%91%A0",
"type": "reading",
"interface": "Event",
"targets": [
"Sensor"
]
},
{
"src": {
"format": "fire an event phrasing",
"href": "https://w3c.github.io/sensors/#ref-for-concept-event-fire%E2%91%A1"
},
"href": "https://w3c.github.io/sensors/#ref-for-concept-event-fire%E2%91%A1",
"type": "activate",
"interface": "Event",
"targets": [
"Sensor"
]
},
{
"src": {
"format": "fire an event phrasing",
"href": "https://w3c.github.io/sensors/#ref-for-concept-event-fire%E2%91%A2"
},
"href": "https://w3c.github.io/sensors/#ref-for-concept-event-fire%E2%91%A2",
"type": "error",
"interface": "SensorErrorEvent",
"targets": [
"Sensor"
]
}
]
}