Which is equivalent in Android for iOS selectionChanged() haptic?

176 views Asked by At

I was looking for selectionChanged() for android. I found some constants on android but nothing for 'selectionChanged' : https://developer.android.com/reference/android/os/VibrationEffect

Here is apple doc: https://developer.apple.com/documentation/uikit/uiselectionfeedbackgenerator/2374284-selectionchanged

Which could be the equivalent for android ?

1

There are 1 answers

0
Gilberto Ibarra On BEST ANSWER
performHapticFeedback...

This is the native way