---
title: AccessoryNotification.Identifier
framework: accessorynotifications
role: symbol
role_heading: Structure
path: accessorynotifications/accessorynotification/identifier-swift.struct
---

# AccessoryNotification.Identifier

A structure that uniquely identifies a notification.

## Declaration

```swift
struct Identifier
```

## Overview

Overview A notification’s identifier property is of this type.

## Topics

### Creating an identifier

- [init(notificationIdentifier:sourceIdentifier:)](accessorynotifications/accessorynotification/identifier-swift.struct/init(notificationidentifier:sourceidentifier:).md)

### Accessing identifier components

- [notificationIdentifier](accessorynotifications/accessorynotification/identifier-swift.struct/notificationidentifier.md)
- [sourceIdentifier](accessorynotifications/accessorynotification/identifier-swift.struct/sourceidentifier.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Identifying and grouping notifications

- [identifier](accessorynotifications/accessorynotification/identifier-swift.property.md)
- [threadIdentifier](accessorynotifications/accessorynotification/threadidentifier.md)
- [sourceName](accessorynotifications/accessorynotification/sourcename.md)
