Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 15.0 (current version)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0 (home page)

Index

On this page

KMManager.setHapticFeedback()


Summary

The setHapticFeedback() method sets whether the device vibrates as the user types.

Syntax

KMManager.setHapticFeedback(boolean value)

Parameters

value

Set true to enable device vibrating as the user types, false to disable.

Description

Use this method to enable or disable haptic feedback. This determines if the device vibrates as the user types. By default, haptic feedback is disabled.

Examples

Example: Using setHapticFeedback()

The following script illustrates the use of setHapticFeedback():

    // Enable haptic feeedback
    KMManager.setHapticFeedback(true);

History

Keyman Engine for Android 15.0: New function.

See also