mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-14 11:01:06 +01:00
ed85fd5011
This avoids a lot of problems because java - does not know unsigned values - jvm and dalvic do not internally support byte and short - sqlite does not know them either
20 lines
455 B
Java
20 lines
455 B
Java
package nodomain.freeyourgadget.gadgetbridge.devices;
|
|
|
|
public interface SampleProvider {
|
|
int PROVIDER_MIBAND = 0;
|
|
int PROVIDER_PEBBLE_MORPHEUZ = 1;
|
|
int PROVIDER_PEBBLE_GADGETBRIDGE = 2;
|
|
int PROVIDER_PEBBLE_MISFIT = 3;
|
|
int PROVIDER_PEBBLE_HEALTH = 4;
|
|
|
|
int PROVIDER_UNKNOWN = 100;
|
|
|
|
int normalizeType(int rawType);
|
|
|
|
int toRawActivityKind(int activityKind);
|
|
|
|
float normalizeIntensity(int rawIntensity);
|
|
|
|
int getID();
|
|
}
|