TKMDefaultTriggerLockCommandBuilder

Allows building a default trigger lock command. This type of command trigger’s the locking device’s default locking/unlocking action and is defined by the locking device itself. E.g. a standard door cylinder would usually unlock for a few seconds and allow the user to open the door during this time. Other locking devices might stay open indefinitely.

The DefaultTriggerLockCommand is not to be confused with the AutoTriggerLockCommand. The former tries to trigger the lock’s default command independent of the user’s permissions. If the permissions don’t match, execution will fail. The latter lets the lock choose the action to be performed based on the user’s key and the locking device’s properties.

Note, that lock running an older firmware may not support explicitly specifying the DefaultTriggerLockCommand. In order to stay backwards-compatible, it’s therefore suggested to use the CompatTriggerLockCommandBuilder instead of this class in most cases.