Package-level declarations

Types

Link copied to clipboard
@ObjCName(name = "HostProtocol", exact = true)
sealed interface HostProtocol

The host-side of the protocol.

Link copied to clipboard
@ObjCName(name = "HostProtocolAdapter", exact = true)
class HostProtocolAdapter<W : Any>(guestVersion: RedwoodVersion, container: Widget.Children<W>, protocol: HostProtocol, widgetSystem: WidgetSystem<W>, eventSink: UiEventSink, leakDetector: LeakDetector) : UiChangesSink

Runs the host side of the protocol.

Link copied to clipboard
@ObjCName(name = "ProtocolMismatchHandler", exact = true)
interface ProtocolMismatchHandler

Handler invoked when the protocol sent from Compose to the widget display 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
sealed interface UiChange

A version of Change whose contents have already been deserialized from JSON and is thus cheap to apply on the UI thread.

Link copied to clipboard
fun interface UiChangesSink

A version of ChangesSink which consumes UiChanges.

Link copied to clipboard
interface UiEvent

A version of Event whose arguments have not yet been serialized to JSON and is thus cheap to create on the UI thread.

Link copied to clipboard
fun interface UiEventSink

A version of EventSink which consumes UiEvents.

Properties

Link copied to clipboard