Contents

mode

The specific state of the alarm, either alerting, countdown, or paused.

Declaration

var mode: AlarmPresentationState.Mode

Discussion

Use mode to determine which mode the alarm is in, so that a widget extension can produce the appropriate UI.

See Also

Creating an alarm state