rememberCouiHaptic

Performs a CouiHapticEffect. On OPLUS/ColorOS devices this invokes the matching linear-motor waveform through View.performHapticFeedback; on other Android builds and on non-Android targets it falls back to the closest standard Compose haptic.

Returns a callback so the effect can be triggered from outside the composition (e.g. inside an animation or gesture callback) without re-resolving platform handles each time.

Performs a CouiHapticEffect. On OPLUS/ColorOS devices this invokes the matching linear-motor waveform through View.performHapticFeedback; on other Android builds and on non-Android targets it falls back to the closest standard Compose haptic.

Returns a callback so the effect can be triggered from outside the composition (e.g. inside an animation or gesture callback) without re-resolving platform handles each time.

Performs a CouiHapticEffect. On OPLUS/ColorOS devices this invokes the matching linear-motor waveform through View.performHapticFeedback; on other Android builds and on non-Android targets it falls back to the closest standard Compose haptic.

Returns a callback so the effect can be triggered from outside the composition (e.g. inside an animation or gesture callback) without re-resolving platform handles each time.

actual fun rememberCouiHaptic(): (CouiHapticEffect) -> Unit

Performs a CouiHapticEffect. On OPLUS/ColorOS devices this invokes the matching linear-motor waveform through View.performHapticFeedback; on other Android builds and on non-Android targets it falls back to the closest standard Compose haptic.

Returns a callback so the effect can be triggered from outside the composition (e.g. inside an animation or gesture callback) without re-resolving platform handles each time.

actual fun rememberCouiHaptic(): (CouiHapticEffect) -> Unit

Performs a CouiHapticEffect. On OPLUS/ColorOS devices this invokes the matching linear-motor waveform through View.performHapticFeedback; on other Android builds and on non-Android targets it falls back to the closest standard Compose haptic.

Returns a callback so the effect can be triggered from outside the composition (e.g. inside an animation or gesture callback) without re-resolving platform handles each time.

actual fun rememberCouiHaptic(): (CouiHapticEffect) -> Unit

Performs a CouiHapticEffect. On OPLUS/ColorOS devices this invokes the matching linear-motor waveform through View.performHapticFeedback; on other Android builds and on non-Android targets it falls back to the closest standard Compose haptic.

Returns a callback so the effect can be triggered from outside the composition (e.g. inside an animation or gesture callback) without re-resolving platform handles each time.