States

public enum States : Int

These Int-based enum values define the possible switch states.

  • off

    Control is in “off” state, which displays an “X” in the default.

    Declaration

    Swift

    case off = -1
  • Control is in “clear” state, which displays an empty circle in the default.

    Declaration

    Swift

    case clear
  • on

    Control is in “on” state, which displays a “√” in the default.

    Declaration

    Swift

    case on