mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 10:31:03 +01:00
25 lines
556 B
Java
25 lines
556 B
Java
package nodomain.freeyourgadget.gadgetbridge.protocol;
|
|
|
|
public class GBDeviceCommandAppManagementResult extends GBDeviceCommand {
|
|
public Result result = Result.UNKNOWN;
|
|
public CommandType type = CommandType.UNKNOWN;
|
|
public int token = -1;
|
|
|
|
public GBDeviceCommandAppManagementResult() {
|
|
commandClass = CommandClass.APP_MANAGEMENT_RES;
|
|
}
|
|
|
|
public enum CommandType {
|
|
UNKNOWN,
|
|
INSTALL,
|
|
DELETE,
|
|
}
|
|
|
|
public enum Result {
|
|
UNKNOWN,
|
|
SUCCESS,
|
|
ACKNOLEDGE,
|
|
FAILURE,
|
|
}
|
|
}
|