ZapUiEvent

class ZapUiEvent(val uiId: String, val event: ZapUiEvent.Event, val value: String? = null) : Zapable

Represent data related to event raised by the user interface.

Constructors

Link copied to clipboard
constructor(uiId: String, event: ZapUiEvent.Event, value: String? = null)

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

A type of event occurring for the UI.

Link copied to clipboard
open override val resource: ZapResource

A resource type of the object.

Link copied to clipboard

An identifier for the UI.

Link copied to clipboard
val value: String? = null

A value changed due to the event.

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
Link copied to clipboard
operator fun component3(): String?
Link copied to clipboard
open override fun toPayload(): ZappPayload

Convert Zapable to ZappPayload and return it.