ButtonFeedback
data class ButtonFeedback(val soundEffect: Int? = SoundEffectConstants.CLICK, val hapticFeedbackType: HapticFeedbackType? = HapticFeedbackType.ContextClick)(source)
Configures feedback behavior for button interactions.
Parameters
soundEffect
The Android sound effect to play, or null to disable sound.
hapticFeedbackType
The haptic feedback type to perform, or null to disable haptics.
Constructors
Link copied to clipboard
constructor(soundEffect: Int? = SoundEffectConstants.CLICK, hapticFeedbackType: HapticFeedbackType? = HapticFeedbackType.ContextClick)
Functions
Link copied to clipboard
Performs the configured feedback using the provided View and HapticFeedback.