MCPcopy Create free account
hub / github.com/coronalabs/corona / SetCanVibrate

Method SetCanVibrate

platform/android/ndk/Rtt_AndroidInputDevice.cpp:215–218  ·  view source on GitHub ↗

Sets whether or not the device supports vibration/rumble feedback. Vibration support can be checked by calling the Android InputDevice.getVibrator().hasVibrator() method. @param value Set true to indicate the device supports vibration via the Vibrate() function. Set false if vibration/rumble feedback is not supported by the device.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

UpdateInputDeviceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected