The second Android 11 Developer Preview is now available, test it out and share your feedback.

HapticFeedbackType

enum class HapticFeedbackType
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.core.hapticfeedback.HapticFeedbackType>
   ↳ androidx.ui.core.hapticfeedback.HapticFeedbackType

Constants to be used to perform haptic feedback effects via HapticFeedback.performHapticFeedback.

Summary

Enum values

The user has performed a long press on an object that is resulting in an action being performed.

The user has performed a selection/insertion handle move on text field.

Enum values

LongPress

enum val LongPress : HapticFeedbackType

The user has performed a long press on an object that is resulting in an action being performed.

TextHandleMove

enum val TextHandleMove : HapticFeedbackType

The user has performed a selection/insertion handle move on text field.