---
title: DeviceActivityEvent.Name
framework: Device Activity
role: symbol
role_heading: Structure
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+]
path: deviceactivity/deviceactivityevent/name
---

# DeviceActivityEvent.Name

The unique name of an event.

## Declaration

```swift
struct Name
```

## Overview

Overview DeviceActivityEvent.Name allows applications to associate an event with some of their own data.

## Topics

### Creating an Instance

- [init(rawValue:)](deviceactivity/deviceactivityevent/name/init(rawvalue:).md)
- [init(_:)](deviceactivity/deviceactivityevent/name/init(_:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)

## See Also

### Creating an Event

- [init(applications:categories:webDomains:threshold:)](deviceactivity/deviceactivityevent/init(applications:categories:webdomains:threshold:).md)
- [includesAllActivity](deviceactivity/deviceactivityevent/includesallactivity.md)
