forked from w3c/automotive-bg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvehicle_spec.html
126 lines (108 loc) · 4.6 KB
/
vehicle_spec.html
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<title>Vehicle Information API</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script src='https://www.w3.org/Tools/respec/respec-w3c-common'
class='remove'></script>
<script class="remove">
var respecConfig = {
specStatus: "unofficial",
shortName: "vehicle-information-api",
publishDate: "",
previousPublishDate: "",
previousMaturity: "",
edDraftURI: "",
// lcEnd: "",
crEnd: "",
editors: [
{ name: "Kevron Rees", company: "Intel",
companyURL: "http://www.intel.com" }
],
inlineCSS: true,
noIDLIn: true,
extraCSS: ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
wg: "",
wgURI: "http://",
wgPublicList: "",
wgPatentURI: "",
};
</script>
</head>
<body>
<!------------------------------ Abstract ------------------------------------>
<section id="abstract">
This specification defines a Vehicle Information API which offers a simple interface
to get access to vehicle data. A typical use case of the Vehicle Information is the
implementation of a tachometer application that allows view inforomation from the
vehicle such as speed, tire pressure, and engine rotation speed (RPMs).
</section>
<!----------------------- Status of this document ---------------------------->
<section id="sotd">
</section>
<!----------------------------- Introduction --------------------------------->
<section class="informative">
<h2>Introduction</h2>
<p>
The Vehicle Information API provides operations to get access to the vehicle data
(henceforth "properties") available from vehicle systems and also to change (write) a number of
properties. The API also allows users to request data that has been logged previously.
<p>
An example of use is provided below:
<pre class="example highlight">
/// TODO: example of usage here
</pre>
</section>
<!---------------------------- Conformance ----------------------------------->
<section id="conformance">
<p>This specification defines conformance criteria that apply to a single
product: the <dfn>user agent</dfn> that implements the interfaces that it
contains.
<p>Implementations that use ECMAScript to implement the APIs defined in this
specification MUST implement them in a manner consistent with the ECMAScript
Bindings defined in the Web IDL specification [[!WEBIDL]], as this
specification uses that specification and terminology.
</section>
<!----------------------------- Terminology ---------------------------------->
<section>
<h2>Terminology</h2> <p>The <code><a
href="http://dev.w3.org/html5/spec/webappapis.html#eventhandler">
EventHandler</a></code> interface represents a callback used for event
handlers as defined in [[!HTML5]].
<p>The concepts <dfn><a
href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task"> queue a
task</a></dfn> and <dfn><a
href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">
fire a simple event</a></dfn> are defined in [[!HTML5]].
<p>The terms <a
href="http://dev.w3.org/html5/spec/webappapis.html#event-handlers"><dfn
id="dfn-eventhandler">event handler</dfn></a> and <a
href="http://dev.w3.org/html5/spec/webappapis.html#event-handler-event-type">
<dfn id="dfn-eventtypes"> event handler event types</dfn></a> are defined in
[[!HTML5]].
</section>
<!------------------------ Security and privacy ------------------------------>
<section>
<h2>Security and privacy considerations</h2>
<p>This API must be only exposed to trusted content
</section>
<!---------------------- Extended interface Navigator ------------------------>
<section>
<h2><a>Navigator</a> Interface</h2>
<dl title="partial interface Navigator" class="idl">
<dt>readonly attribute Vehicle vehicle</dt>
<dd>
The object that exposes the interface to vehicle information services.
</dd>
</dl>
</section>
<!------------------------ Interface Vehicle ------------------------------->
<section>
<h2><a>Vehicle Information</a> Interface</h2> <p>The <a>Vehicle Infomration</a> interface
represents the initial entry point for getting access to the vehicle information
services, i.e. Engine Speed and Tire Pressure.
<dl title="[NoInterfaceObject] interface Vehicle" class="idl">
</dl>
</section>
</body>
</html>