system.vibrate enhancement

Would it be possible to add a variable to the system.vibrate() function?

For example “system.vibrate(500)”.

From what I see in the source code, iOS has it hard coded as “const int kVibroDuration = 180;” and Android has it hard coded as “v.vibrate( 100 );”.

It would be beneficial if we could have the option of passing the vibration time into the function instead of having it hard coded.

–Scott

In my case, I’m using the “Spiral Code Studio” Vibrator plugin. I’m satisfied. Hope helpful.

1 Like