public class CommandResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandResult.CommandResultCode
Represents a command's result code.
|
static class |
CommandResult.UserCommandResult
The result of a user command.
|
Constructor and Description |
---|
CommandResult(Date lockTime,
net.tpky.mc.model.ServerClockTime serverTime,
CommandResult.CommandResultCode commandResultCode,
Object responseData,
List<CommandResult.UserCommandResult> userCommandResults,
net.tpky.mc.tlcp.model.PublicState publicState) |
Modifier and Type | Method and Description |
---|---|
Integer |
getBatteryWarnLevel()
Returns the lock's battery warning level.
|
CommandResult.CommandResultCode |
getCommandResultCode()
Returns the result code of this command.
|
Date |
getLockTime()
Returns the time on the lock when the command was executed.
|
Object |
getResponseData()
Reserved for internal use.
|
net.tpky.mc.model.ServerClockTime |
getServerTime()
Returns the time on the Tapkey Trust Service when the command was executed.
|
List<CommandResult.UserCommandResult> |
getUserCommandResults()
Reserved for internal use.
|
Boolean |
isBound()
Returns whether the lock is bound or not.
|
public CommandResult(Date lockTime, net.tpky.mc.model.ServerClockTime serverTime, CommandResult.CommandResultCode commandResultCode, Object responseData, List<CommandResult.UserCommandResult> userCommandResults, net.tpky.mc.tlcp.model.PublicState publicState)
public Date getLockTime()
public net.tpky.mc.model.ServerClockTime getServerTime()
public CommandResult.CommandResultCode getCommandResultCode()
public Object getResponseData()
public List<CommandResult.UserCommandResult> getUserCommandResults()
public Integer getBatteryWarnLevel()
public Boolean isBound()