2015-03-26 18:11:47 +01:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.protocol;
|
|
|
|
|
|
|
|
public class GBDeviceCommandAppManagementResult extends GBDeviceCommand {
|
|
|
|
public Result result = Result.UNKNOWN;
|
|
|
|
public CommandType type = CommandType.UNKNOWN;
|
2015-04-06 20:58:35 +02:00
|
|
|
public int token = -1;
|
2015-03-26 18:11:47 +01:00
|
|
|
|
|
|
|
public GBDeviceCommandAppManagementResult() {
|
|
|
|
commandClass = CommandClass.APP_MANAGEMENT_RES;
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum CommandType {
|
|
|
|
UNKNOWN,
|
2015-04-06 20:58:35 +02:00
|
|
|
INSTALL,
|
2015-03-26 18:11:47 +01:00
|
|
|
DELETE,
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum Result {
|
|
|
|
UNKNOWN,
|
|
|
|
SUCCESS,
|
2015-04-06 20:58:35 +02:00
|
|
|
ACKNOLEDGE,
|
2015-03-26 18:11:47 +01:00
|
|
|
FAILURE,
|
|
|
|
}
|
|
|
|
}
|