ZiplineTreehouseUi

@ObjCName(name = "ZiplineTreehouseUi", exact = true)
interface ZiplineTreehouseUi : ZiplineService, EventSink

Adapt TreehouseComposition to conform the limitations of Zipline interfaces.

Most callers shouldn't use this directly; instead use TreehouseUi.

Types

Link copied to clipboard
interface Host : ZiplineService, ChangesSinkService

Access to the host that presents this UI.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
abstract fun sendEvent(event: Event)
Link copied to clipboard
Link copied to clipboard
abstract fun start(host: ZiplineTreehouseUi.Host)
abstract fun start(changesSink: ChangesSinkService, uiConfigurations: StateFlow<UiConfiguration>, stateSnapshot: StateSnapshot?)
abstract fun start(changesSink: ChangesSinkService, onBackPressedDispatcher: OnBackPressedDispatcherService, uiConfigurations: StateFlow<UiConfiguration>, stateSnapshot: StateSnapshot?)