Haptic Feedback

This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0

You can apply this task to impart the characteristic of the tactile sensation (sense of touch) to the application. By using the tactile sensation, the application interacts with the user through the sense of touch (vibration, forces, or motions). For instance:- When you get a notification on your phone, it vibrates to alert you. The haptic feedback feature is used in several devices, including smart phones, video game controller, virtual reality systems, and others.

Different tactile sensations are as follows:

  • Vibration
  • Impact
  • Texture Simulation
  • Pressure
  • Motion, and others

Steps to Configure

  1. On the <<task group’s name>> page, find the Task panel.
  2. In the Task panel, search and find the Haptic Feedback task.
  3. Drag the Haptic Feedback task from the Task panel to the Execution panel.
  4. Under Haptic Feedback, a group of boxes comes into view.
  5. In the boxes, configure related properties as follows:
Property NameDescriptionMandatory
Reference NameThe reference name specifies the name of the task. In the Reference Name box, enter the name of the task.Yes
Vibration TypeThe haptic feedback technology offers several tactile sensations in addition to the vibration sensation. This property allows you to define the vibration type sensation by providing the following options:
a. Predefined
In the Vibration Type list, when you select this option, it offers you predefined patterns (for example, Alarm). You can select one of the available patterns.

b. Custom Pattern
In the Vibration Type list, when you select this option, the Haptic Feedback tree displays the following boxes:
1. Custom Pattern
2. Intensity
3. Repeat Count


In the Vibration Type list, the Custom Pattern option allows you to define a customized vibration pattern with the pause and vibration timeframes at regular intervals.

When the application executes the Haptic Feedback task, the user’s device interacts with him or her by playing the configured vibration pattern.
No
PatternThe Haptic Feedback tree displays this box after you select the Predefined option in the Vibration Type list. Click the Pattern list and then select a predefined pattern (for example, Notification).

When the application executes the Haptic Feedback task, the device will interact with the user by playing the predefined vibration pattern that you selected in the Pattern list.
No
Custom PatternThis property comes into view after you select Custom Pattern in the Vibration Type list. It contains four boxes. In these boxes, you can enter a value as follows:
a. First Box
In this box, enter a numeric value (for example, 450) in milliseconds. This value specifies a pause timeframe. After this timeframe, the device will play the first tactile-based vibration pattern.

b. Second Box
In this box, enter a numeric value (for example, 1000) in milliseconds. This value specifies the device’s first vibration pattern’s timeframe.

c. Third Box
In this box, enter a numeric value (for example, 450) in milliseconds. This value specifies the timeframe of the second pause that the device takes after it plays its first vibration pattern.

d. Fourth Box
In this box, enter a numeric value (for example, 1200) in milliseconds. This value specifies the timeframe of the second vibration pattern that the device plays after the second pause.
No
IntensityIn this property, you can select the following intensity levels by clicking the Intensity list:-
a. Low
b. Medium
c. High
Repeat CountIn this box, enter a numeric value (for example, 4). This value specifies the number of repetitions that the device takes to play the set of vibration patterns.

For instance:- Assume you enter 4 in the Repeat Count box. When the application executes the Haptic Feedbaack task, the device will play the vibration pattern four times.
Business RuleThis property allows you to build a business rule related to the execution of the task. If the user’s action satisfies the condition in the business rule, the Haptic Feedback task is executed.

To configure the business rule:
–> In the Business Rule box, click the application tree icon (), and the Business Rule panel opens.
–> In the Business Rule panel, click CreateNew to configure the new business rule.  
  1. After you configure the related properties, click Save to configure the Haptic Feedback task.
Was this article helpful?
YesNo