Class AndroidHapticFeedback
java.lang.Object
com.jme3.system.android.AndroidHapticFeedback
Android haptic helpers shared by device and input-device vibrators.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisSupported(android.os.Vibrator vibrator) static voidrumble(android.os.Vibrator vibrator, float amountHigh, float amountLow, float duration) static voidstop(android.os.Vibrator vibrator)
-
Method Details
-
isSupported
public static boolean isSupported(android.os.Vibrator vibrator) -
rumble
public static void rumble(android.os.Vibrator vibrator, float amountHigh, float amountLow, float duration) -
stop
public static void stop(android.os.Vibrator vibrator)
-