Zapable

interface Zapable

An interface for data exchange through Zap.

The data objects exchanged via Zap MUST implement this interface. If an object can be transmitted through Zap, it can be referred to as “Zapable”.

Inheritors

Properties

Link copied to clipboard
abstract val resource: ZapResource

A resource type of the object.

Functions

Link copied to clipboard
abstract fun toPayload(): ZappPayload

Convert Zapable to ZappPayload and return it.