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

HapticFeedback

interface HapticFeedback
androidx.ui.core.hapticfeedback.HapticFeedback

Interface for haptic feedback.

Summary

Public methods

abstract Unit

Provide haptic feedback to the user.

Public methods

performHapticFeedback

abstract fun performHapticFeedback(hapticFeedbackType: HapticFeedbackType): Unit

Provide haptic feedback to the user.