ProtocolWidgetSystemFactory

Functions

Link copied to clipboard
abstract fun create(guestAdapter: GuestProtocolAdapter, mismatchHandler: ProtocolMismatchHandler = ProtocolMismatchHandler.Throwing): WidgetSystem<Unit>

Create a new WidgetSystem connected to a host via guestAdapter.

Link copied to clipboard
abstract fun <T : Modifier.Element> modifierTagAndSerializationStrategy(element: T): Pair<ModifierTag, SerializationStrategy<T>?>

The serialization strategy is null if the modifier is stateless.