---
title: "resume(id:)"
framework: alarmkit
role: symbol
role_heading: Instance Method
path: "alarmkit/alarmmanager/resume(id:)"
---

# resume(id:)

Resumes the alarm with the specified ID if it’s in the paused state.

## Declaration

```swift
func resume(id: Alarm.ID) throws
```

## Parameters

- `id`: The identifier of the alarm to resume.

## Discussion

Discussion The function throws otherwise. Sets the alarm to the AlarmPresentationState.Mode.Countdown state.

## See Also

### Changing an alarm state

- [cancel(id:)](alarmkit/alarmmanager/cancel(id:).md)
- [countdown(id:)](alarmkit/alarmmanager/countdown(id:).md)
- [pause(id:)](alarmkit/alarmmanager/pause(id:).md)
- [stop(id:)](alarmkit/alarmmanager/stop(id:).md)
