public static enum CommandResult.CommandResultCode extends Enum<CommandResult.CommandResultCode>
Enum Constant and Description |
---|
LockCommunicationError
A transport-level error occurred when communicating with the locking device, e.g.
|
LockDateTimeInvalid
Lock date/time are invalid.
|
LockNotFullyAssembled
The lock is not fully assembled.
|
LockVersionTooOld
The lock is not supported anymore by this version of the SDK.
|
LockVersionTooYoung
The lock's firmware is not yet supported by this version of the SDK.
|
Ok
Command executed as requested.
|
ServerCommunicationError
An error occurred while trying to communicate with the Tapkey Trust Service (e.g.
|
TechnicalError
Some unspecific technical error has occurred.
|
TemporarilyUnauthorized
The key is valid but access is denied due to ICAL restrictions of the grant.
|
Unauthorized
Communication with the security backend succeeded but the user is not authorized for the
given command on this locking device.
|
Unauthorized_NotYetValid
The key is not yet valid but will be in the future.
|
UnknownTagType
The lock is not a known Tapkey lock.
|
UserSpecificError
An error occurred on user level.
|
WrongLockMode
Lock is in the wrong mode for this command (e.g.
|
Modifier and Type | Method and Description |
---|---|
static CommandResult.CommandResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandResult.CommandResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResult.CommandResultCode Ok
public static final CommandResult.CommandResultCode WrongLockMode
public static final CommandResult.CommandResultCode LockVersionTooOld
public static final CommandResult.CommandResultCode LockVersionTooYoung
public static final CommandResult.CommandResultCode LockNotFullyAssembled
public static final CommandResult.CommandResultCode ServerCommunicationError
public static final CommandResult.CommandResultCode LockDateTimeInvalid
public static final CommandResult.CommandResultCode TemporarilyUnauthorized
public static final CommandResult.CommandResultCode Unauthorized_NotYetValid
public static final CommandResult.CommandResultCode Unauthorized
public static final CommandResult.CommandResultCode LockCommunicationError
public static final CommandResult.CommandResultCode UnknownTagType
public static final CommandResult.CommandResultCode UserSpecificError
CommandResult.UserCommandResult
is
required.public static final CommandResult.CommandResultCode TechnicalError
public static CommandResult.CommandResultCode[] values()
for (CommandResult.CommandResultCode c : CommandResult.CommandResultCode.values()) System.out.println(c);
public static CommandResult.CommandResultCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null