Package-level declarations
Types
Link copied to clipboard
Exposes a Widget.Children and WidgetSystem whose changes can be captured as a list of Changes to send to a remote frontend. Incoming Events can also be sent to this instance and will be routed to the appropriate handler.
Link copied to clipboard
interface ProtocolMismatchHandler
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.
Functions
Link copied to clipboard
fun ProtocolRedwoodComposition(scope: CoroutineScope, bridge: ProtocolBridge, changesSink: ChangesSink, widgetVersion: UInt, onBackPressedDispatcher: OnBackPressedDispatcher, saveableStateRegistry: SaveableStateRegistry?, uiConfigurations: StateFlow<UiConfiguration>): RedwoodComposition