Package-level declarations

Types

Link copied to clipboard
class InMemoryPushStore(capacity: Int = 200) : PushStore
Link copied to clipboard
data class PushEvent(val provider: String, val data: Map<String, String>, val messageId: String? = null, val source: String? = null, val sentAtEpochMs: Long? = null, val receivedAtEpochMs: Long = System.currentTimeMillis(), val notification: PushNotification? = null, val rawMetadata: Map<String, String> = emptyMap(), val lifecycle: PushLifecycle = PushLifecycle.RECEIVED, val simulated: Boolean = false)
Link copied to clipboard
data class PushInput(val provider: String, val data: Map<String, String>, val messageId: String? = null, val source: String? = null, val sentAtEpochMs: Long? = null, val receivedAtEpochMs: Long = System.currentTimeMillis(), val notification: PushNotification? = null, val rawMetadata: Map<String, String> = emptyMap(), val lifecycle: PushLifecycle = PushLifecycle.RECEIVED, val simulated: Boolean = false)
Link copied to clipboard
Link copied to clipboard
data class PushNotification(val title: String? = null, val body: String? = null, val channelId: String? = null, val imageUrl: String? = null)
Link copied to clipboard
class PushRecorder(redaction: RedactionEngine, store: PushStore? = null, enabled: Boolean = true)

When enabled is false, record returns the event unredacted from input echo alone — it never invokes redaction and never appends to store. Disabled callers should treat the returned event as informational only, not as a stored/dashboard-visible record.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface PushStore