UnknownEvent

class UnknownEvent : Event


Represents an unknown Event.

Summary

Public constructors

UnknownEvent(
    eventId: Id,
    eventName: String,
    timestamp: Instant,
    eventImportance: EventImportance,
    eventNumber: ULong
)

Public properties

open Id

ID of the Event.

open EventImportance

Importance of the event.

open String

Event name.

open ULong

Event number.

open Instant

Time of the event.

Inherited properties

From com.google.home.Event
open String?

The PartId of the part that emitted this event, if applicable.

open ClusterStruct?

The ClusterStruct payload of this event, if applicable.

Public constructors

UnknownEvent

UnknownEvent(
    eventId: Id = Id("unknown_event"),
    eventName: String = "Unknown Event",
    timestamp: Instant = Instant.EPOCH,
    eventImportance: EventImportance = EventImportance.DEBUG,
    eventNumber: ULong
)

Public properties

eventId

open val eventId: Id

ID of the Event.

eventImportance

open val eventImportance: EventImportance

Importance of the event.

eventName

open val eventName: String

Event name.

eventNumber

open val eventNumber: ULong

Event number.

timestamp

open val timestamp: Instant

Time of the event.