kony.haptics Namespace

The kony.haptics namespace, which is a part of the Core Haptics API, contains the following API elements.

kony.haptics.HapticsObj Object

The kony.haptics.HapticsObj namespace contains the following functions that allow you to perform custom haptics. You can create a haptics object to represent haptics for specific widgets, callbacks, and also perform operations on them.

You can create a haptics object for the following widgets:

  • Button widget
  • Group widgets (RadioButtonGroup, CheckBoxGroup)
  • Segment widget
  • TextArea widget
  • TextBox widget

An advancedHaptics UI interface has been provided for the following widget-specific events:

  • Button widget - Onclick event
  • RadioButtonGroup widget - onSelection event
  • PickerView widget - onSelection, onDone events
  • Segment widget - onRowClick event
  • TextArea widget
  • TextBox widget

Functions