<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/EquipmentStateCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit24EquipmentStateCollectionV"
  },
  "title" : "EquipmentStateCollection"
}
-->

# EquipmentStateCollection

A collection of equipment states that can be inspected and modified.

```
struct EquipmentStateCollection
```

## Topics

### Accessing the subscript

[`subscript(id _: EquipmentIdentifier) -> (any MutableEquipmentState)?`](/documentation/TabletopKit/EquipmentStateCollection/subscript(id:))

Returns and/or modifies the state for the equipment with given identifier.

[`subscript(ids _: some Sequence<EquipmentIdentifier>) -> [(any MutableEquipmentState)?]`](/documentation/TabletopKit/EquipmentStateCollection/subscript(ids:))

Returns and/or modifies the states for the equipment with given identifiers.

[`subscript<E>(of _: E.Type, id _: EquipmentIdentifier) -> E.State?`](/documentation/TabletopKit/EquipmentStateCollection/subscript(of:id:))

Returns and/or modifies the state for the equipment with given identifier and matching type.

[`subscript<E>(of _: E.Type, ids _: some Sequence<EquipmentIdentifier>) -> [E.State?]`](/documentation/TabletopKit/EquipmentStateCollection/subscript(of:ids:))

Returns and/or modifies the state for the equipment with given identifier and matching type.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)