Google 致力于为黑人社区推动种族平等。查看具体举措

HapticFeedback

interface HapticFeedback
androidx.compose.ui.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.