TimerStatus

enum TimerStatus : Int

These are the various states a timer can be in.

  • This is set for a timeSet value of 0.

    Declaration

    Swift

    case Invalid = 0
  • This means the timer is not running, and currentTime is timeSet.

    Declaration

    Swift

    case Stopped = 1
  • The timer is paused, and the currentTime is less than timeSet.

    Declaration

    Swift

    case Paused = 2
  • The timer is running green, which means that currentTime is greater than timeSetWarn.

    Declaration

    Swift

    case Running = 3
  • The timer is running yellow, which means that currentTime is less than, or equal to timeSetWarn.

    Declaration

    Swift

    case WarnRun = 4
  • The timer is running red, which means that currentTime is less than, or equal to timeSetFinal.

    Declaration

    Swift

    case FinalRun = 5
  • The timer is in an alarm state, which means that currentTime is 0.

    Declaration

    Swift

    case Alarm = 6