cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Staci Cooper (JIRA)" <>
Subject [jira] [Created] (CB-7218) WP8 throws error for vibration > 5 secs
Date Tue, 29 Jul 2014 15:35:39 GMT
Staci Cooper created CB-7218:

             Summary: WP8 throws error for vibration > 5 secs
                 Key: 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:

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

View raw message