TimerOperation
enum TimerOperation : String, CaseIterable
This is a state code, to tell the receiver which state it should be in.
-
Set the selected timer to a specific time. The payload is an integer, between 0, and the starting time.
Declaration
Swift
case setTime
-
Start a timer from scratch.
Declaration
Swift
case start
-
Return the timer to the beginning, but pause it.
Declaration
Swift
case reset
-
Stop the timer. Return to a previous state/screen.
Declaration
Swift
case stop
-
Pause a running timer.
Declaration
Swift
case pause
-
Resume a paused timer.
This may also have a payload with an Int, which is the time to resume from.
Declaration
Swift
case resume
-
Send the timer to alarm mode.
Declaration
Swift
case fastForward