<!--
{
  "availability" : [
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "EventKit",
  "identifier" : "/documentation/EventKit/EKAlarm/type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "EventKit"
    ],
    "preciseIdentifier" : "c:objc(cs)EKAlarm(py)type"
  },
  "title" : "type"
}
-->

# type

The type of action to trigger when the alarm fires.

```
var type: EKAlarmType { get }
```

## Discussion

To set the type of alarm, define one of [`emailAddress`](/documentation/EventKit/EKAlarm/emailAddress), [`soundName`](/documentation/EventKit/EKAlarm/soundName), or [`url`](/documentation/EventKit/EKAlarm/url).

---

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)