ResultEvent

@Serializable
class ResultEvent(val value: String?) : ResponseEvent

Parameters

value

The deciphered value or null if key wasn't found or auth has failed.

Constructors

Link copied to clipboard
constructor(value: String?)

Properties

Link copied to clipboard
@Transient
var eventBus: EventBus?

The event bus to which responses to this event are posted, or null if origin wasn't set for this event.

Link copied to clipboard
@Transient
var requestId: Int

The request ID that links request that originated from the web view with the response.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun respond(block: () -> ChainableEvent)

Executes a block and posts the returned event to the chain using the same event bus to which this event was originally posted.

Posts an event to the chain in the same event bus to which this event was originally posted.