Host

interface Host : ZiplineService

Platform features to the guest application.

Functions

Link copied to clipboard
open 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()