Host

interface Host : ZiplineService

Platform features to the guest application.

Properties

Link copied to clipboard

The Redwood version of the host. This may be used to alter the behavior to work around bugs discovered in the future, and to ensure the serialized protocol remains compatible with what the host expects.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
abstract fun handleUncaughtException(exception: Throwable)

Handle an uncaught exception. The app is now in an undefined state and must be stopped.

Link copied to clipboard
abstract fun onUnknownEvent(widgetTag: WidgetTag, tag: EventTag)

Notify the host that an event was unrecognized and will be ignored.

Link copied to clipboard
abstract fun onUnknownEventNode(id: Id, tag: EventTag)

Notify the host that an event was received for a node that no longer exists. That event will be ignored.

Link copied to clipboard
abstract fun requestFrame()