Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "BroadcastToSystem")
data class BroadcastToSystemEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val broadcastId: String, val data: BroadcastToSystemEventSchema.BroadcastData) : EventSchema

Publishes a value on the client's system broadcast channel under broadcastId, where the host application and any mounted SystemBroadcastListener tile can pick it up. This is the outbound half of the bridge between server-declared flows and native app code.

Link copied to clipboard
@Serializable
@SerialName(value = "CheckIfHasInternetConnection")
data class CheckIfHasInternetConnectionEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?) : EventSchema

Asks the client's network layer whether the device currently has an internet connection, and branches on the answer. Runs on the IO dispatcher.

Link copied to clipboard
@Serializable
@SerialName(value = "DropCaches")
data class DropCachesEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val dropScreensCache: Boolean, val dropInitialGraphCache: Boolean, val dropVersionCache: Boolean) : EventSchema

Clears the client's local caches. Each flag selects one store: dropScreensCache the cached screen payloads, dropInitialGraphCache the cached initial navigation graph, and dropVersionCache the cached version marker used to decide whether the cached content is still valid.

Link copied to clipboard
@Serializable
@SerialName(value = "OpenExternalLink")
data class OpenExternalLinkEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val url: String) : EventSchema

Hands url to the platform so it opens outside the app — the system browser, or whichever app claims the scheme.