Package-level declarations

Types

Link copied to clipboard

Optional install hook so the Android app shell can hand us an application Context (needed for the system Vibrator). Sound works without it; haptics no-op until set.

Link copied to clipboard
Link copied to clipboard

Device haptic pattern. A coarse, feel-based taxonomy the caller maps its own moments onto.

Link copied to clipboard
Link copied to clipboard

Registers the host app's notification channels. Idempotent — createNotificationChannels upserts by id, so calling it again on every launch (the recommended pattern) is safe.

Link copied to clipboard
data class NotificationChannelSpec(val id: String, val name: String, val description: String, val importance: Int = NotificationManager.IMPORTANCE_DEFAULT, val vibrate: Boolean = false)

A single notification channel the host app wants created. Kept app-agnostic — the app declares its own channels (ids, names, importance) and passes them to NotificationChannelManager.createChannels; this module owns none of them.

Link copied to clipboard

The short SFX vocabulary a caller draws on for UX feedback.

Link copied to clipboard
interface SoundPlayer

Plays short SFX by SoundKey and fires haptics by HapticPattern.

Functions

Link copied to clipboard

Platform factory for the default SoundPlayer.

Platform factory for the default SoundPlayer.

Platform factory for the default SoundPlayer.

Platform factory for the default SoundPlayer.

Platform factory for the default SoundPlayer.

Link copied to clipboard
actual fun shareText(text: String)
expect fun shareText(text: String)
actual fun shareText(text: String)
actual fun shareText(text: String)
actual fun shareText(text: String)