OperatingModeEnum

enum OperatingModeEnum

Operating modes.

  • 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.

  • This mode only disables remote interaction with the lock. This does not apply to any remote proprietary means of communication. It specifically applies to the Lock, Unlock, Toggle, and Unlock with Timeout commands.

    Declaration

    Swift

    case noRemoteLockUnlock
  • The lock operates normally. All interfaces are enabled.

    Declaration

    Swift

    case normal
  • The lock is open or can be opened or closed at will without the use of a keypad or other means of user validation, for example, a lock for a business during work hours.

    Declaration

    Swift

    case passage
  • This mode is only possible if the door is locked. Manual unlocking changes the mode to Normal operating mode. All external interaction with the door lock is disabled. This mode is intended to be used so that users, presumably inside the property, will have control over the entrance.

    Declaration

    Swift

    case privacy
  • Only remote interaction is enabled.

    Declaration

    Swift

    case vacation