mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 10:31:03 +01:00
e79f4523c3
This is now used for morpheuz data and the SleepMonitorActivity
39 lines
819 B
Java
39 lines
819 B
Java
package nodomain.freeyourgadget.gadgetbridge;
|
|
|
|
public class GBActivitySample {
|
|
private final int timestamp;
|
|
private final byte provider;
|
|
private final short intensity;
|
|
private final byte steps;
|
|
private final byte type;
|
|
|
|
public GBActivitySample(int timestamp, byte provider, short intensity, byte steps, byte type) {
|
|
this.timestamp = timestamp;
|
|
this.provider = provider;
|
|
this.intensity = intensity;
|
|
this.steps = steps;
|
|
this.type = type;
|
|
}
|
|
|
|
public int getTimestamp() {
|
|
return timestamp;
|
|
}
|
|
|
|
public byte getProvider() {
|
|
return provider;
|
|
}
|
|
|
|
public short getIntensity() {
|
|
return intensity;
|
|
}
|
|
|
|
public byte getSteps() {
|
|
return steps;
|
|
}
|
|
|
|
public byte getType() {
|
|
return type;
|
|
}
|
|
|
|
}
|