Contents

init(totalCountdownDuration:previouslyElapsedDuration:)

Creates an instance of a paused state.

Declaration

init(totalCountdownDuration: TimeInterval, previouslyElapsedDuration: TimeInterval)

Parameters

  • totalCountdownDuration:

    The total duration of the countdown.

  • previouslyElapsedDuration:

    The amount of time that has elapsed. If the countdown was never paused or resumed, the value is zero.

See Also

Pausing an alarm