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>
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:


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

Received on Thursday, 3 November 2011 03:59:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:32 UTC