Package-level declarations

Types

Link copied to clipboard
abstract class GuestProtocolAdapter(hostVersion: RedwoodVersion) : EventSink

Connects the guest (composition) of a Redwood UI to the host of that UI.

Link copied to clipboard

Handler invoked when the protocol sent from the widget display to Compose encounters unknown entities. This usually occurs when either the Compose-side or the widget-side was generated from a newer schema than the other, or if their schemas were changed in an incompatible way.

Link copied to clipboard

Properties

Functions

Link copied to clipboard
fun ProtocolRedwoodComposition(scope: CoroutineScope, guestAdapter: GuestProtocolAdapter, widgetVersion: UInt, onBackPressedDispatcher: OnBackPressedDispatcher, saveableStateRegistry: SaveableStateRegistry?, uiConfigurations: StateFlow<UiConfiguration>, onEndChanges: () -> Unit = {}): RedwoodComposition