2015-03-25 22:23:45 +01:00
|
|
|
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;
|
2015-03-31 23:34:19 +02:00
|
|
|
private final Type type;
|
2015-03-25 22:23:45 +01:00
|
|
|
|
2015-03-31 23:34:19 +02:00
|
|
|
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;
|
2015-03-25 22:23:45 +01:00
|
|
|
this.name = name;
|
|
|
|
this.creator = creator;
|
|
|
|
this.version = version;
|
2015-03-31 23:34:19 +02:00
|
|
|
this.type = type;
|
2015-03-25 22:23:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
2015-03-31 23:34:19 +02:00
|
|
|
|
|
|
|
public Type getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public enum Type {
|
|
|
|
UNKNOWN,
|
|
|
|
WATCHFACE,
|
|
|
|
APP_GENERIC,
|
|
|
|
APP_ACTIVITYTRACKER,
|
|
|
|
}
|
2015-03-25 22:23:45 +01:00
|
|
|
}
|