Event

class Event(notificationData: ByteArray) : GatewayNotification

Something the gateway reported happening, such as a configuration change being accepted or rejected.

Constructors

Link copied to clipboard
constructor(notificationData: ByteArray)

Types

Link copied to clipboard

Kind of event the gateway reported, with the code the device sends it under.

Properties

Link copied to clipboard
val code: Int

Code associated with notification

Link copied to clipboard

Notification data (first byte of notification is omitted)

Link copied to clipboard

Code associated with event

Link copied to clipboard

Event data (first four bytes of notification are omitted)

Link copied to clipboard

Type of event or null if type is unknown

Functions

Link copied to clipboard
open override fun toString(): String