EntityTypeFactory

@HomeExperimentalApi
open class EntityTypeFactory<T : HomeEntityType> : TypeFactory

Known direct subclasses

Wrapper for companion objects to subclass to create shorter syntax, so that call sites can name the entity itself (e.g. DeviceGroup) instead of its factory (DeviceGroup.factory).

Summary

Public constructors

Public properties

open InternalEntityTypeFactory<T>

the internal factory.

Public constructors

EntityTypeFactory

<T : HomeEntityType> EntityTypeFactory(
    factory: InternalEntityTypeFactory<T>
)

Public properties

factory

open val factoryInternalEntityTypeFactory<T>

the internal factory.