enum KeypadLockoutEnum
The level of functionality available to the user through the thermostat’s keypad.
-
All functionality available to the user.
Declaration
Swift
case noLockout
-
Level 1 reduced functionality.
Declaration
Swift
case lockout1
-
Level 2 reduced functionality.
Declaration
Swift
case lockout2
-
Level 3 reduced functionality.
Declaration
Swift
case lockout3
-
Level 4 reduced functionality.
Declaration
Swift
case lockout4
-
Level 5 reduced functionality.
Declaration
Swift
case lockout5
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: UInt64)
Parameters
rawValue
The raw value to use for the new instance.