<!--
{
  "availability" : [
    "macOS: 10.8.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSUserNotification/ActivationType-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSUserNotificationActivationType"
  },
  "title" : "NSUserNotification.ActivationType"
}
-->

# NSUserNotification.ActivationType

These constants describe how the user notification was activated.

```
enum ActivationType
```

## Topics

### Constants

[`NSUserNotificationActivationTypeNone`](/documentation/Foundation/NSUserNotification/ActivationType-swift.enum/none)

The user did not interact with the notification alert.

[`NSUserNotificationActivationTypeContentsClicked`](/documentation/Foundation/NSUserNotification/ActivationType-swift.enum/contentsClicked)

The user clicked on the contents of the notification alert.

[`NSUserNotificationActivationTypeActionButtonClicked`](/documentation/Foundation/NSUserNotification/ActivationType-swift.enum/actionButtonClicked)

The user clicked on the action button of the notification alert.

[`NSUserNotificationActivationTypeReplied`](/documentation/Foundation/NSUserNotification/ActivationType-swift.enum/replied)

The user replied to the notification.

[`NSUserNotificationActivationTypeAdditionalActionClicked`](/documentation/Foundation/NSUserNotification/ActivationType-swift.enum/additionalActionClicked)

The user clicked on the additional action button of the notification alert.

## Relationships

### Conforms To

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

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

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

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

[`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)