Message

data class Message(val data: MessageData, val eventName: Message.EventName, val sessionId: String, val timestamp: Long = System.currentTimeMillis(), val version: Int = 1)

Represents a monitoring message.

Constructors

Link copied to clipboard
constructor(data: MessageData, eventName: Message.EventName, sessionId: String, timestamp: Long = System.currentTimeMillis(), version: Int = 1)

Types

Link copied to clipboard

Represents the name of the event that triggered a monitoring message.

Properties

Link copied to clipboard

The data associated with the message.

Link copied to clipboard
@SerialName(value = "event_name")
val eventName: Message.EventName

The name of the event.

Link copied to clipboard
@SerialName(value = "session_id")
val sessionId: String

The unique identifier for the session during which the event occurred.

Link copied to clipboard

The timestamp of when the event occurred, in milliseconds.

Link copied to clipboard

The version of the schema used for the data property.