Creates an instance of a paused state.
- 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.
get · iOS 26.0+
totalCountdownDuration
TypeScript
get totalCountdownDuration(): number
Swift declaration
var totalCountdownDuration: TimeInterval
The total duration of the countdown.
set · iOS 26.0+
totalCountdownDuration
TypeScript
set totalCountdownDuration(value: number)
Swift declaration
var totalCountdownDuration: TimeInterval
The total duration of the countdown.
get · iOS 26.0+
previouslyElapsedDuration
TypeScript
get previouslyElapsedDuration(): number
Swift declaration
var previouslyElapsedDuration: TimeInterval
The amount of time that elapsed before the most recent pause of
the countdown.
If the countdown was never paused or resumed, the value is zero.
set · iOS 26.0+
previouslyElapsedDuration
TypeScript
set previouslyElapsedDuration(value: number)
Swift declaration
var previouslyElapsedDuration: TimeInterval
The amount of time that elapsed before the most recent pause of
the countdown.
If the countdown was never paused or resumed, the value is zero.