Public Member Functions | |
AckStatus (String description, int statusCode) | |
String | getDescription () |
int | getStatusCode () |
boolean | isError () |
Public Attributes | |
VALUE_RANGE_WARNING =("Value out of range", -1) | |
SUCCESS =("OK", 0) | |
ID_NOT_FOUND =("ID not found", 1) | |
INVALID_CREDENTIALS =("Invalid Credentials", 2) | |
UNKNOWN_ERROR =("Unknown Error", 10000) | |
An enumeration that represents all the possible status / error return codes from the remote.
String com.thecoderscorner.menu.remote.commands.AckStatus.getDescription | ( | ) |
int com.thecoderscorner.menu.remote.commands.AckStatus.getStatusCode | ( | ) |
boolean com.thecoderscorner.menu.remote.commands.AckStatus.isError | ( | ) |
com.thecoderscorner.menu.remote.commands.AckStatus.ID_NOT_FOUND =("ID not found", 1) |
The requested ID was not found
com.thecoderscorner.menu.remote.commands.AckStatus.INVALID_CREDENTIALS =("Invalid Credentials", 2) |
The credentials provided were incorrect
com.thecoderscorner.menu.remote.commands.AckStatus.SUCCESS =("OK", 0) |
The operation was successful
com.thecoderscorner.menu.remote.commands.AckStatus.UNKNOWN_ERROR =("Unknown Error", 10000) |
There was an error that is not categorised.
com.thecoderscorner.menu.remote.commands.AckStatus.VALUE_RANGE_WARNING =("Value out of range", -1) |
This is a warning that the value was out of range