Event

data class Event(val name: String, val parameters: HashMap<String, Any> = hashMapOf(), val id: String = System.nanoTime().toString().plus(UUID.randomUUID().toString()), var status: String = EventStatus.DEFAULT.name)

Data class defining single event for the library

Constructors

Link copied to clipboard
constructor(name: String, parameters: HashMap<String, Any> = hashMapOf(), id: String = System.nanoTime().toString().plus(UUID.randomUUID().toString()), status: String = EventStatus.DEFAULT.name)

Properties

Link copied to clipboard
val id: String

Unique id associated with the event

Link copied to clipboard

Name of the event

Link copied to clipboard

Parameters associated with the event

Link copied to clipboard

Status of the event at any point, Also check - EventStatus