Source set: Common
interface SoundEffect
Interface representing the capability to play sound effects on user interaction.
This is used primarily to play interaction sound effects for click gestures.
Functions
playClickSound
fun playClickSound()
Plays a click sound effect.
This method triggers the standard click sound effect, provided it is supported by the platform, enabled by the user's system, and has not been silenced or customized via SoundEffectOnInteraction.