Vibration
Making a Tizen device vibrate is a good way to provide tactile feedback to the user or to interact with the user even when the device volume is low. The vibration provides better user experience and therefore improves the perception of your application.
The vibration interface is implemented by all Navigator instances. With the vibrate() method parameters, you can define different vibration types:
- Continuous vibration for a given length of time
- Vibration in a given pattern
The following table describes the available parameters.
Parameter | Description |
---|---|
time |
Vibration time in milliseconds. |
pattern |
Vibration pattern represented by a list of time entries. Odd entries represent vibration time in milliseconds, and even entries still periods in milliseconds between the vibrations. |