Cluster "features" describe the features supported by a cluster.

interface Features<F> {
    base?: ClusterType;
    extensions?: readonly Extension<F>[];
    features: F;
    supportedFeatures: TypeFromPartialBitSchema<F>;
    unknown: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

If you enable features, this property tracks the shape of the cluster with no features enabled.

extensions?: readonly Extension<F>[]

Metadata controlling how enabled features affect cluster structure.

features: F

Features the cluster may support.

supportedFeatures: TypeFromPartialBitSchema<F>

Features the cluster does support.

unknown: boolean

If true, this flag indicates that the cluster is not known to matter.js. This implies a cluster ID for which we do not have a cluster definition.

Some functionality is available for unknown clusters but an official Matter definition is generally required for full functionality.