AbstractCallback

abstract class AbstractCallback : Callback

Abstract class for callbacks.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
lateinit var json: JsonObject

The JSON object representing the callback.

Functions

Link copied to clipboard
open override fun init(jsonObject: JsonObject): Callback

Initializes the callback with the provided JSON object.

protected abstract fun init(name: String, value: JsonElement)
Link copied to clipboard
fun input(vararg value: Any): JsonObject

Sets the input value for the callback.

Link copied to clipboard
open override fun payload(): JsonObject

Returns the payload of the callback.