1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 07:01:33 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBDeviceApp.java

51 lines
998 B
Java

package nodomain.freeyourgadget.gadgetbridge;
public class GBDeviceApp {
private final String name;
private final String creator;
private final String version;
private final int id;
private final int index;
private final Type type;
public GBDeviceApp(int id, int index, String name, String creator, String version, Type type) {
this.id = id;
this.index = index;
this.name = name;
this.creator = creator;
this.version = version;
this.type = type;
}
public String getName() {
return name;
}
public String getCreator() {
return creator;
}
public String getVersion() {
return version;
}
public int getId() {
return id;
}
public int getIndex() {
return index;
}
public Type getType() {
return type;
}
public enum Type {
UNKNOWN,
WATCHFACE,
APP_GENERIC,
APP_ACTIVITYTRACKER,
}
}