resumeButton
TypeScriptget resumeButton(): AlarmButtonSwift declarationvar resumeButton: AlarmButtonThe appearance of the resume button.
struct · iOS 26.0+ · SDK 27.1
struct PausedAn object that configures the UI for a paused timer state. This is only applicable to timers that can be paused. To get back to a countdown state, you must provide a definition for a resume button. The following code snippet describes how to schedule a timer that can pause and resume. ```swift let paused = AlarmPresentation.Paused( title: "Timer paused", resumeButton: AlarmButton(text: "Resume", textColor: .blue, systemImageName: "play.circle")) ```
get resumeButton(): AlarmButtonSwift declarationvar resumeButton: AlarmButtonThe appearance of the resume button.
set resumeButton(value: AlarmButton)Swift declarationvar resumeButton: AlarmButtonThe appearance of the resume button.
get title(): _Foundation_LocalizedStringResourceSwift declarationvar title: LocalizedStringResourceThe title of the paused UI.
set title(value: _Foundation_LocalizedStringResource)Swift declarationvar title: LocalizedStringResourceThe title of the paused UI.
static init(title: _Foundation_LocalizedStringResource, resumeButton: AlarmButton): AlarmPresentation_PausedSwift declarationinit(title: LocalizedStringResource, resumeButton: AlarmButton)Creates a pause presentation with a resume button. - Parameters: - title: The title of the paused UI. - resumeButton: The required resume button for a paused timer.
No declarations were skipped in this snapshot.