public static enum CommandResult.UserCommandResult.UserCommandResultCode extends Enum<CommandResult.UserCommandResult.UserCommandResultCode>
Enum Constant and Description |
---|
BindingError
The binding of the key does not match the lock's binding.
|
LockCommunicationError
An error occurred while communicating with the locking device.
|
LockDateTimeInvalid
Lock date/time are invalid.
|
LockNotFullyAssembled
The lock is not fully assembled.
|
Ok
Command executed as requested.
|
ReauthenticationRequired
The authentication information isn't valid anymore.
|
ServerCommunicationError
A technical error occurred when trying to communicate with the Tapkey Trust Service.
|
TechnicalError
Some unspecific technical error has occurred.
|
TemporarilyUnauthorized
The key is valid but access is denied due to ICAL restrictions of the grant.
|
Unauthorized
The user is not authorized for the given command on this locking device.
|
UnauthorizedAtThisTime
The present key is considered not yet valid or expired.
|
Modifier and Type | Method and Description |
---|---|
static CommandResult.UserCommandResult.UserCommandResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandResult.UserCommandResult.UserCommandResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResult.UserCommandResult.UserCommandResultCode Ok
public static final CommandResult.UserCommandResult.UserCommandResultCode Unauthorized
public static final CommandResult.UserCommandResult.UserCommandResultCode ServerCommunicationError
public static final CommandResult.UserCommandResult.UserCommandResultCode LockCommunicationError
public static final CommandResult.UserCommandResult.UserCommandResultCode BindingError
public static final CommandResult.UserCommandResult.UserCommandResultCode UnauthorizedAtThisTime
public static final CommandResult.UserCommandResult.UserCommandResultCode TemporarilyUnauthorized
public static final CommandResult.UserCommandResult.UserCommandResultCode LockNotFullyAssembled
public static final CommandResult.UserCommandResult.UserCommandResultCode TechnicalError
public static final CommandResult.UserCommandResult.UserCommandResultCode ReauthenticationRequired
public static final CommandResult.UserCommandResult.UserCommandResultCode LockDateTimeInvalid
public static CommandResult.UserCommandResult.UserCommandResultCode[] values()
for (CommandResult.UserCommandResult.UserCommandResultCode c : CommandResult.UserCommandResult.UserCommandResultCode.values()) System.out.println(c);
public static CommandResult.UserCommandResult.UserCommandResultCode 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