[
https://issues.apache.org/jira/browse/CB-7218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen resolved CB-7218.
---------------------------------
Resolution: Fixed
Merged!
Looks like that is how we will handle it.
> WP8 throws error for vibration > 5 secs
> ---------------------------------------
>
> Key: CB-7218
> URL: https://issues.apache.org/jira/browse/CB-7218
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Plugin Vibration, WP8
> Reporter: Staci Cooper
> Assignee: Staci Cooper
> Priority: Minor
>
> This is the expected behavior on WP8. An error is thrown if a timespan less
> than 1 msec or greater than 5000 is passed in:
> http://msdn.microsoft.com/en-us/library/microsoft.devices.vibratecontroller.start.aspx
> Currently Vibration.cs sets the timespan to 1 msec if it is given as < 1msec.
> I think if it is given as > 5000, it should be similarly capped so that the
> vibration will be truncated to 5 seconds instead of not occurring at all.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]