# OperatingModeEnum

    enum OperatingModeEnum

Operating modes.
- `


  ### [normal](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/OperatingModeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV17OperatingModeEnumO6normalyA2GmF)


  ` The lock operates normally. All interfaces are enabled.

  #### Declaration

  Swift

      case normal

- `


  ### [vacation](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/OperatingModeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV17OperatingModeEnumO8vacationyA2GmF)


  ` Only remote interaction is enabled.

  #### Declaration

  Swift

      case vacation

- `


  ### [privacy](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/OperatingModeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV17OperatingModeEnumO7privacyyA2GmF)


  ` 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

- `


  ### [noRemoteLockUnlock](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/OperatingModeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV17OperatingModeEnumO08noRemoteF6UnlockyA2GmF)


  ` 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

- `


  ### [passage](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/OperatingModeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV17OperatingModeEnumO7passageyA2GmF)


  ` 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

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/OperatingModeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV17OperatingModeEnumO8rawValueAGSgs6UInt64V_tcfc)


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