---
title: HIDDeviceClient.DeviceReference
framework: corehid
role: symbol
role_heading: Structure
path: corehid/hiddeviceclient/devicereference-swift.struct
---

# HIDDeviceClient.DeviceReference

A reference to a HID device on the system.

## Declaration

```swift
struct DeviceReference
```

## Overview

Overview A device reference exists for every discovered device. Use it to create an HIDDeviceClient, and maintain the reference until someone removes the device.

## Topics

### Instance Properties

- [deviceID](corehid/hiddeviceclient/devicereference-swift.struct/deviceid.md)

## Relationships

### Conforms To

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

## See Also

### Create a device client

- [init(deviceReference:)](corehid/hiddeviceclient/init(devicereference:).md)
- [deviceReference](corehid/hiddeviceclient/devicereference-swift.property.md)
