mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 18:41:14 +01:00
25 lines
518 B
Java
25 lines
518 B
Java
|
package nodomain.freeyourgadget.gadgetbridge.entities;
|
||
|
|
||
|
public abstract class AbstractHybridHRActivitySample extends AbstractActivitySample {
|
||
|
abstract public int getCalories();
|
||
|
abstract public byte getWear_type();
|
||
|
|
||
|
@Override
|
||
|
public int getRawKind() {
|
||
|
return getWear_type();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public int getRawIntensity() {
|
||
|
return getCalories();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void setUserId(long userId) {}
|
||
|
|
||
|
@Override
|
||
|
public long getUserId() {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|