ContextCustomEventData

data class ContextCustomEventData @JvmOverloads constructor(val contextId: String, val userId: String, val payload: ByteArray, val statusCode: Long? = null, val schemaVersion: Long? = null)

Holds information about emitted custom event.

Constructors

Link copied to clipboard
constructor(contextId: String, userId: String, payload: ByteArray, statusCode: Long? = null, schemaVersion: Long? = null)

Properties

Link copied to clipboard

Context ID

Link copied to clipboard

Event's actual payload

Link copied to clipboard
val schemaVersion: Long? = null

Version of the event data structure and how it is encoded/encrypted

Link copied to clipboard
val statusCode: Long? = null

Payload decryption status

Link copied to clipboard

User ID (event's sender)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int