enum DoorLockOperationEventCodeDoor lock operation event codes.
-
Unknown or manufacturer-specific event.
Declaration
Swift
case unknownOrMfgSpecific -
Lock.
Declaration
Swift
case lock -
Unlock.
Declaration
Swift
case unlock -
Invalid credential provided when attempting to lock.
Declaration
Swift
case lockInvalidPinOrId -
Invalid lock schedule.
Declaration
Swift
case lockInvalidSchedule -
Invalid credential provided when attempting to unlock.
Declaration
Swift
case unlockInvalidPinOrId -
Invalid unlock schedule.
Declaration
Swift
case unlockInvalidSchedule -
One touch lock.
Declaration
Swift
case oneTouchLock -
Key lock.
Declaration
Swift
case keyLock -
Key unlock.
Declaration
Swift
case keyUnlock -
Automatic lock.
Declaration
Swift
case autoLock -
Schedule lock.
Declaration
Swift
case scheduleLock -
Schedule unlock.
Declaration
Swift
case scheduleUnlock -
Manual lock.
Declaration
Swift
case manualLock -
Manual unlock.
Declaration
Swift
case manualUnlock -
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
rawValueThe raw value to use for the new instance.