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

# DDDeviceEvent.EventType

Identifiers for the types of events that occur in the device discovery life cycle.

```
enum EventType
```

## Overview

An event (`DDEvent`) `eventType` is of this type.

## Topics

### Distinguishing event types

[`case unknown`](/documentation/DeviceDiscoveryExtension/DDDeviceEvent/EventType-swift.enum/unknown)

A value for uninitialized event types.

[`case deviceFound`](/documentation/DeviceDiscoveryExtension/DDDeviceEvent/EventType-swift.enum/deviceFound)

A status that indicates when the extension finds the device of interest.

[`case deviceLost`](/documentation/DeviceDiscoveryExtension/DDDeviceEvent/EventType-swift.enum/deviceLost)

A status that indicates when the extension loses a connection to the device of interest.

[`case deviceChanged`](/documentation/DeviceDiscoveryExtension/DDDeviceEvent/EventType-swift.enum/deviceChanged)

A status that indicates when the device of interest changes configuration.

### Initializers

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

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)