One Logo Pool Ball
AlarmKit · IOS API REFERENCE

AlarmPresentationState.Mode.Paused

struct · iOS 26.0+ · SDK 27.1

struct Paused

An object that specifies the current state of the alarm has paused.

Members (5)

init · iOS 26.0+

init

TypeScript
static init(totalCountdownDuration: number, previouslyElapsedDuration: number): AlarmPresentationState_Mode_Paused
Swift declaration
init(totalCountdownDuration: TimeInterval, previouslyElapsedDuration: TimeInterval)

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.

Skipped declarations

No declarations were skipped in this snapshot.

All AlarmKit types →