<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHID",
  "identifier" : "/documentation/CoreHID/HIDElementCollection/CollectionType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core HID"
    ],
    "preciseIdentifier" : "s:7CoreHID20HIDElementCollectionV0D4TypeO"
  },
  "title" : "HIDElementCollection.CollectionType"
}
-->

# HIDElementCollection.CollectionType

Types of [`HIDElementCollection`](/documentation/CoreHID/HIDElementCollection)s.

```
enum CollectionType
```

## Overview

Collection types are a defined part of the HID specification that define how a collection is intended to be used.

See the HID specification for more details: [](https://www.usb.org/hid).

## Topics

### Enumeration Cases

[`case application`](/documentation/CoreHID/HIDElementCollection/CollectionType/application)

[`case logical`](/documentation/CoreHID/HIDElementCollection/CollectionType/logical)

[`case namedArray`](/documentation/CoreHID/HIDElementCollection/CollectionType/namedArray)

[`case physical`](/documentation/CoreHID/HIDElementCollection/CollectionType/physical)

[`case report`](/documentation/CoreHID/HIDElementCollection/CollectionType/report)

[`case usageModifier`](/documentation/CoreHID/HIDElementCollection/CollectionType/usageModifier)

[`case usageSwitch`](/documentation/CoreHID/HIDElementCollection/CollectionType/usageSwitch)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)