<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceDiscoveryExtension",
  "identifier" : "/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "DeviceDiscoveryExtension"
    ],
    "preciseIdentifier" : "c:@E@DDDeviceCategory"
  },
  "title" : "DDDevice.Category"
}
-->

# DDDevice.Category

An option that determines the icon for the device in the picker UI.

```
enum Category
```

## Overview

The device ([`DDDevice`](/documentation/DeviceDiscoveryExtension/DDDevice)) [`category`](/documentation/DeviceDiscoveryExtension/DDDevice/category-swift.property) property is of this type.

Each value in this enumeration determines a different icon that the picker UI (<doc://com.apple.documentation/documentation/AVKit/AVRoutePickerView>) displays, which helps the user visually confirm that their selection corresponds to the device they intend to stream media to.

## Topics

### Choosing an icon for the device picker

[`case desktopComputer`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/desktopComputer)

An icon that depicts a desktop computer.

[`case hifiSpeaker`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/hifiSpeaker)

An icon that depicts a high-fidelity speaker.

[`case hifiSpeakerMultiple`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/hifiSpeakerMultiple)

An icon that depicts multiple high-fidelity speakers.

[`case laptopComputer`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/laptopComputer)

An icon that depicts a laptop computer.

[`case tv`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/tv)

An icon that depicts a television.

[`case tvWithMediaBox`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/tvWithMediaBox)

An icon that depicts a TV with a set-top box.

### Enumeration Cases

[`case accessorySetup`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/accessorySetup)

### Initializers

[`init?(rawValue: Int)`](/documentation/DeviceDiscoveryExtension/DDDevice/Category-swift.enum/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)