init(preAlert:postAlert:)
Creates an instance of a countdown duration.
Declaration
init(preAlert: TimeInterval?, postAlert: TimeInterval?)Parameters
- preAlert:
The duration applied before the alarm fires.
- postAlert:
The duration applied after the alarm has alerted at least once and moves back to the countdown state.