TKMCommandResultCode
@objc(TKMCommandResultCode)
public enum TKMCommandResultCode : Int
Represents a command’s result code. The result codes in this enum are sorted by priority.
-
Command executed as requested.
Declaration
Swift
case ok
-
Lock is in the wrong mode for this command (e.g. in owner mode while triggering the lock).
Declaration
Swift
case wrongLockMode
-
The lock is not supported anymore by this version of the SDK. An update of the lock’s firmware is required.
Declaration
Swift
case lockVersionTooOld
-
The lock’s firmware is not yet supported by this version of the SDK. Upgrade to the latest version of the SDK.
Declaration
Swift
case lockVersionTooYoung
-
The lock is not fully assembled. Certain types of locks may ship in multiple parts and need to be assembled before use.
Declaration
Swift
case lockNotFullyAssembled
-
An error occurred while trying to communicate with the Tapkey Trust Service (e.g. due to bad internet connection).
Declaration
Swift
case serverCommunicationError
-
Lock date/time are invalid.
Declaration
Swift
case lockDateTimeInvalid
-
The key is valid but access is denied due to ICAL restrictions of the grant. See the corresponding grant for more information.
Declaration
Swift
case temporarilyUnauthorized
-
The key is not yet valid but will be in the future. See the corresponding grant for more information.
Declaration
Swift
case unauthorized_notYetValid
-
Communication with the security backend succeeded but the user is not authorized for the given command on this locking device.
Declaration
Swift
case unauthorized
-
A transport-level error occurred when communicating with the locking device, e.g. NFC or Bluetooth connection was lost.
Declaration
Swift
case lockCommunicationError
-
The lock is not a known Tapkey lock.
Declaration
Swift
case unknownTagType
-
An error occurred on user level. In this case, examining {@link UserCommandResult} is required.
Declaration
Swift
case userSpecificError
-
Some unspecific technical error has occurred.
Declaration
Swift
case technicalError