HomeObjectAddedEvent

@HomeExperimentalApi
class HomeObjectAddedEvent<T : HasId> : HomeObjectChangeEvent


When a Structure, Room or HomeDevice is added to the corresponding top level flow, this event is issued with the newly added home object.

Summary

Public constructors

<T : HasId> HomeObjectAddedEvent(id: Id, addedObject: T)

Public properties

T
open Id

Id of the object this event refers to.

Public constructors

HomeObjectAddedEvent

<T : HasId> HomeObjectAddedEvent(id: Id, addedObject: T)

Public properties

addedObject

val addedObject: T

id

open val idId

Id of the object this event refers to.