# LockDataTypeEnum

    enum LockDataTypeEnum

Data types associated with door locks.
- `


  ### [unspecified](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO11unspecifiedyA2GmF)


  ` Unspecified or manufacturer-specific lock user data.

  #### Declaration

  Swift

      case unspecified

- `


  ### [programmingCode](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO15programmingCodeyA2GmF)


  ` Programming code.

  #### Declaration

  Swift

      case programmingCode

- `


  ### [userIndex](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO9userIndexyA2GmF)


  ` The unique identifier for the user.

  #### Declaration

  Swift

      case userIndex

- `


  ### [weekDaySchedule](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO15weekDayScheduleyA2GmF)


  ` Week day schedule. Week day schedules are used to restrict access to a specified time window
  on certain days of the week. The schedule is repeated each week.

  #### Declaration

  Swift

      case weekDaySchedule

- `


  ### [yearDaySchedule](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO15yearDayScheduleyA2GmF)


  ` Year day schedule. Year day schedules are used to restrict access to a specified date and
  time window.

  #### Declaration

  Swift

      case yearDaySchedule

- `


  ### [holidaySchedule](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO15holidayScheduleyA2GmF)


  ` Holiday schedule.

  #### Declaration

  Swift

      case holidaySchedule

- `


  ### [pin](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO3pinyA2GmF)


  ` PIN.

  #### Declaration

  Swift

      case pin

- `


  ### [rfid](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO4rfidyA2GmF)


  ` RFID.

  #### Declaration

  Swift

      case rfid

- `


  ### [fingerprint](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO11fingerprintyA2GmF)


  ` Fingerprint.

  #### Declaration

  Swift

      case fingerprint

- `


  ### [fingerVein](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO10fingerVeinyA2GmF)


  ` Finger vein.

  #### Declaration

  Swift

      case fingerVein

- `


  ### [face](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO4faceyA2GmF)


  ` Face.

  #### Declaration

  Swift

      case face

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/DoorLockTrait/LockDataTypeEnum#/s:15GoogleHomeTypes6MatterO13DoorLockTraitV0F12DataTypeEnumO8rawValueAGSgs6UInt64V_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. |