UiSessionStatus

sealed interface UiSessionStatus(source)

Owner-thread view of presentation admission and terminal lifecycle.

Inheritors

Types

Link copied to clipboard
data class Closed(val reason: UiCloseReason) : UiSessionStatus

Terminal ownership with the first reason that ended the UI.

Link copied to clipboard
data object Opening : UiSessionStatus

No native presentation has been confirmed yet.

Link copied to clipboard
data class Ready(val rejection: UiRejection? = null) : UiSessionStatus

Ready retains the most recent asynchronous rejection, if any.

Link copied to clipboard
data class Switching(val presentation: UiPresentation) : UiSessionStatus

A newer requested presentation/input state is waiting for application.