Contents

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 nil value. Provide a Countdown Swift.struct object.

  • paused:

    An optional parameter with a default nil value. Provide a Paused Swift.struct object.

See Also

Defining the alarm UI