---
title: DDDeviceEvent.EventType
framework: DeviceDiscoveryExtension
role: symbol
role_heading: Enumeration
path: devicediscoveryextension/dddeviceevent/eventtype-swift.enum
---

# DDDeviceEvent.EventType

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

## Declaration

```swift
enum EventType
```

## Overview

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

## Topics

### Distinguishing event types

- [DDDeviceEvent.EventType.unknown](devicediscoveryextension/dddeviceevent/eventtype-swift.enum/unknown.md)
- [DDDeviceEvent.EventType.deviceFound](devicediscoveryextension/dddeviceevent/eventtype-swift.enum/devicefound.md)
- [DDDeviceEvent.EventType.deviceLost](devicediscoveryextension/dddeviceevent/eventtype-swift.enum/devicelost.md)
- [DDDeviceEvent.EventType.deviceChanged](devicediscoveryextension/dddeviceevent/eventtype-swift.enum/devicechanged.md)

### Initializers

- [init(rawValue:)](devicediscoveryextension/dddeviceevent/eventtype-swift.enum/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Life cycle

- [DDDeviceEvent](devicediscoveryextension/dddeviceevent.md)
- [DDEventTypeToString(_:)](devicediscoveryextension/ddeventtypetostring(_:).md)
- [DDEventHandler](devicediscoveryextension/ddeventhandler.md)
