---
title: "init(identifier:title:type:)"
framework: accessorynotifications
role: symbol
role_heading: Initializer
path: "accessorynotifications/accessorynotification/action/init(identifier:title:type:)"
---

# init(identifier:title:type:)

Initializes a notification action with the given identifier, title, and type.

## Declaration

```swift
init(identifier: String, title: String? = nil, type: AccessoryNotification.Action.ActionType)
```

## Parameters

- `identifier`: A unique identifier for the action.
- `title`: The action’s display title.
- `type`: The action’s type.
