mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-17 02:44:04 +02:00
25 lines
544 B
Java
25 lines
544 B
Java
|
package nodomain.freeyourgadget.gadgetbridge.deviceevents;
|
||
|
|
||
|
public class GBDeviceEventAppManagementResult extends GBDeviceEvent {
|
||
|
public Result result = Result.UNKNOWN;
|
||
|
public EventType type = EventType.UNKNOWN;
|
||
|
public int token = -1;
|
||
|
|
||
|
public GBDeviceEventAppManagementResult() {
|
||
|
eventClass = EventClass.APP_MANAGEMENT_RES;
|
||
|
}
|
||
|
|
||
|
public enum EventType {
|
||
|
UNKNOWN,
|
||
|
INSTALL,
|
||
|
DELETE,
|
||
|
}
|
||
|
|
||
|
public enum Result {
|
||
|
UNKNOWN,
|
||
|
SUCCESS,
|
||
|
ACKNOLEDGE,
|
||
|
FAILURE,
|
||
|
}
|
||
|
}
|