1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-13 13:39:26 +01:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBDeviceApp.java

51 lines
998 B
Java
Raw Normal View History

package nodomain.freeyourgadget.gadgetbridge;
public class GBDeviceApp {
private final String name;
private final String creator;
private final String version;
2015-03-26 18:11:47 +01:00
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) {
2015-03-26 18:11:47 +01:00
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;
}
2015-03-26 18:11:47 +01:00
public int getId() {
return id;
}
public int getIndex() {
return index;
}
public Type getType() {
return type;
}
public enum Type {
UNKNOWN,
WATCHFACE,
APP_GENERIC,
APP_ACTIVITYTRACKER,
}
}