Package com.medm.devicekit
Class MedMDeviceKitConfig
- java.lang.Object
-
- com.medm.devicekit.MedMDeviceKitConfig
-
public class MedMDeviceKitConfig extends java.lang.Object
MedMDeviceKitConfig represents configuration for DeviceKit
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MedMDeviceKitConfig.GlucoseUnits
static class
MedMDeviceKitConfig.Sex
static class
MedMDeviceKitConfig.Units
Imperial means pounds and miles, Metric - kilograms and kilometers
-
Field Summary
Fields Modifier and Type Field Description boolean
convertReadings
If true, DeviceKit would notify data only in configured units.MedMDeviceKitConfig.GlucoseUnits
glucoseUnits
Which units DeviceKit would set to glucometers (if supported).MedMDeviceKitConfig.Units
units
Which units DeviceKit would set to remote devices (if supported).java.util.Calendar
userBirthday
User birthday.int
userDailyStepsGoal
Daily steps goal for the user.int
userHeight
User height in centimeters.MedMDeviceKitConfig.Sex
userSex
Sex of the user.double
userWeight
User weight in kg.
-
Constructor Summary
Constructors Constructor Description MedMDeviceKitConfig()
-
-
-
Field Detail
-
glucoseUnits
public MedMDeviceKitConfig.GlucoseUnits glucoseUnits
Which units DeviceKit would set to glucometers (if supported). MilligramsPerDecilitre by default
-
units
public MedMDeviceKitConfig.Units units
Which units DeviceKit would set to remote devices (if supported). Metric by default
-
convertReadings
public boolean convertReadings
If true, DeviceKit would notify data only in configured units. If the data was received in other units, it would be converted. Note that some precision may be lost during conversion. If false, DeviceKit would notify received data as it was received from the remote device False by default
-
userSex
public MedMDeviceKitConfig.Sex userSex
Sex of the user. Used for setting user info on activity trackers and weight scales with body composition.
-
userHeight
public int userHeight
User height in centimeters. Used for setting user info on activity trackers and weight scales with body composition.
-
userWeight
public double userWeight
User weight in kg. Used for setting user info on activity trackers.
-
userBirthday
public java.util.Calendar userBirthday
User birthday. Used to calculate user age and setting it to activity trackers and weight scales with body composition.
-
userDailyStepsGoal
public int userDailyStepsGoal
Daily steps goal for the user. Used for setting user info on activity trackers.
-
-