mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-03 02:06:21 +02:00
40 lines
819 B
Java
40 lines
819 B
Java
package nodomain.freeyourgadget.gadgetbridge.activities.charts;
|
|
|
|
import nodomain.freeyourgadget.gadgetbridge.entities.AbstractActivitySample;
|
|
|
|
public class TrailingActivitySample extends AbstractActivitySample {
|
|
private int timestamp;
|
|
private long userId;
|
|
private long deviceId;
|
|
|
|
@Override
|
|
public void setTimestamp(int timestamp) {
|
|
this.timestamp = timestamp;
|
|
}
|
|
|
|
@Override
|
|
public void setUserId(long userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
@Override
|
|
public void setDeviceId(long deviceId) {
|
|
this.deviceId = deviceId;
|
|
}
|
|
|
|
@Override
|
|
public long getDeviceId() {
|
|
return deviceId;
|
|
}
|
|
|
|
@Override
|
|
public long getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
@Override
|
|
public int getTimestamp() {
|
|
return timestamp;
|
|
}
|
|
}
|