ResultEvent

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

Constructors

Link copied to clipboard
constructor(value: String?, errorCode: BiometricStorageErrorCode?)
constructor(value: String?)
constructor(errorCode: BiometricStorageErrorCode)

Properties

Link copied to clipboard
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: Long?

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.

open fun respond(event: ChainableEvent)

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