cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Kiran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5460) Vibration - align with w3c spec ANDROID
Date Tue, 08 Apr 2014 06:17:21 GMT

    [ https://issues.apache.org/jira/browse/CB-5460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962625#comment-13962625
] 

Venkata Kiran commented on CB-5460:
-----------------------------------

When it means align with w3c spec, does it mean supporting the below 2 methods.

navigator.vibrate([50, 100, 150]);

// cancel any existing vibrations
navigator.vibrate(0);

// or alternatively
navigator.vibrate([]);

I believe navigator.vibrate(1000); is already supported. 

But why is this limited to Android only. Shouldn't all the OS have the same behavior for consistency?

> Vibration - align with w3c spec ANDROID
> ---------------------------------------
>
>                 Key: CB-5460
>                 URL: https://issues.apache.org/jira/browse/CB-5460
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Android, Plugin Vibration
>            Reporter: Lisa Seacat DeLuca
>            Priority: Minor
>
> Make the vibration changes for Android



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message