resume(id:)
Resumes the alarm with the specified ID if it’s in the paused state.
Declaration
func resume(id: Alarm.ID) throwsParameters
- id:
The identifier of the alarm to resume.
Discussion
The function throws otherwise. Sets the alarm to the AlarmPresentationState.Mode.Countdown state.