Package-level declarations

Types

Link copied to clipboard
@ObjCName(name = "ProtocolBridge", exact = true)
class ProtocolBridge<W : Any>(guestVersion: RedwoodVersion, container: Widget.Children<W>, factory: ProtocolFactory<W>, eventSink: EventSink) : ChangesSink

Bridges the serialized Redwood protocol back to widgets on the display side.

Link copied to clipboard
@ObjCName(name = "ProtocolFactory", exact = true)
interface ProtocolFactory<W : Any>

A marker interface for the widget-side factory 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.

Properties

Link copied to clipboard