---
title: type
framework: eventkit
role: symbol
role_heading: Instance Property
path: eventkit/ekalarm/type
---

# type

The type of action to trigger when the alarm fires.

## Declaration

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

## Discussion

Discussion To set the type of alarm, define one of emailAddress, soundName, or url.

## See Also

### Triggering Alarm Actions

- [EKAlarmType](eventkit/ekalarmtype.md)
- [emailAddress](eventkit/ekalarm/emailaddress.md)
- [soundName](eventkit/ekalarm/soundname.md)
