1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package nodomain.freeyourgadget.gadgetbridge.devices;
|
| import androidx.annotation.Nullable;
|
| import nodomain.freeyourgadget.gadgetbridge.model.Vo2MaxSample;
|
| public interface Vo2MaxSampleProvider<T extends Vo2MaxSample> extends TimeSampleProvider<T> {
| @Nullable
| T getLatestSample(Vo2MaxSample.Type type, long until);
|
| @Nullable
| default T getLatestSample(long until) {
| return getLatestSample(Vo2MaxSample.Type.ANY, until);
| }
| }
|
|