W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

Re: [vibra] Vibration API -- the first stab

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Wed, 2 Nov 2011 20:59:05 -0700
Cc: "public-device-apis@w3.org WG" <public-device-apis@w3.org>, public-device-status@w3.org
Message-Id: <2780760B-1317-49D3-B8DA-D99CA14C71D9@nokia.com>
To: ext JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>
On 1.11.2011, at 16.34, ext JOSE MANUEL CANTERA FONSECA wrote:

> vibrate(0)  means no vibration.
> 
> In addition probably you are going to need something to indicate what
> vibration you want to cancel as there can be more than one pending
> vibration request

There's no concept of pending vibration request in the current draft. In other words, only one vibration operation is active at a time and any subsequent vibrate() invocation will cancel the pre-existing operation, if any. See the tests 3 and 4a:

  https://bug679966.bugzilla.mozilla.org/attachment.cgi?id=567875

Do you have a use case in mind for pending vibration requests?

-Anssi
Received on Thursday, 3 November 2011 03:59:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:24 GMT