SystemBroadcastData

data class SystemBroadcastData(val broadcastId: String, val data: AnySerializable)

One value published on SystemBroadcastChannel — carries its own broadcastId alongside data so a single shared flow can multiplex every channel id, and a SystemBroadcastListener (or observeSystemBroadcastChannel) filters by comparing broadcastId against the one it's listening for.

Constructors

Link copied to clipboard
constructor(broadcastId: String, data: AnySerializable)

Properties

Link copied to clipboard

channel id this value was published under.

Link copied to clipboard

the published payload.