<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceActivity",
  "identifier" : "/documentation/DeviceActivity/DeviceActivityEvent/Name",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Device Activity"
    ],
    "preciseIdentifier" : "s:14DeviceActivity0aB5EventV4NameV"
  },
  "title" : "DeviceActivityEvent.Name"
}
-->

# DeviceActivityEvent.Name

The unique name of an event.

```
struct Name
```

## Overview

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

## Topics

### Creating an Instance

[`init(rawValue:)`](/documentation/DeviceActivity/DeviceActivityEvent/Name/init(rawValue:))

Creates a new instance with the specified raw value.

[`init(_:)`](/documentation/DeviceActivity/DeviceActivityEvent/Name/init(_:))

Creates a new instance with the specified raw value.



---

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)