<!--
{
  "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

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

The user did not interact with the notification alert.

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

The user clicked on the contents of the notification alert.

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

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

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

The user replied to the notification.

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

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



---

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)