init(alert:countdown:paused:)
Configures an alert with an optional countdown and paused state.
Declaration
init(alert: AlarmPresentation.Alert, countdown: AlarmPresentation.Countdown? = nil, paused: AlarmPresentation.Paused? = nil)Parameters
- alert:
The required content for the alert mode of the alarm.
- countdown:
An optional parameter with a default
nilvalue. Provide a Countdown Swift.struct object. - paused:
An optional parameter with a default
nilvalue. Provide a Paused Swift.struct object.