---
title: HIDElementCollection.CollectionType
framework: corehid
role: symbol
role_heading: Enumeration
path: corehid/hidelementcollection/collectiontype
---

# HIDElementCollection.CollectionType

Types of HIDElementCollections.

## Declaration

```swift
enum CollectionType
```

## Overview

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

- [HIDElementCollection.CollectionType.application](corehid/hidelementcollection/collectiontype/application.md)
- [HIDElementCollection.CollectionType.logical](corehid/hidelementcollection/collectiontype/logical.md)
- [HIDElementCollection.CollectionType.namedArray](corehid/hidelementcollection/collectiontype/namedarray.md)
- [HIDElementCollection.CollectionType.physical](corehid/hidelementcollection/collectiontype/physical.md)
- [HIDElementCollection.CollectionType.report](corehid/hidelementcollection/collectiontype/report.md)
- [HIDElementCollection.CollectionType.usageModifier](corehid/hidelementcollection/collectiontype/usagemodifier.md)
- [HIDElementCollection.CollectionType.usageSwitch](corehid/hidelementcollection/collectiontype/usageswitch.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
