Property

LocalHapticFeedback

The CompositionLocal to provide haptic feedback to the user.

Source set: Common
public val LocalHapticFeedback:
    ProvidableCompositionLocal<androidx.compose.ui.hapticfeedback.HapticFeedback> =
    staticCompositionLocalWithComputedDefaultOf {
        LocalOwner.currentValue.hapticFeedBack
    }

The CompositionLocal to provide haptic feedback to the user.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: