Package com.medm.devicekit
Class MedMDeviceKitConfig
- java.lang.Object
-
- com.medm.devicekit.MedMDeviceKitConfig
-
public class MedMDeviceKitConfig extends java.lang.ObjectMedMDeviceKitConfig represents configuration for DeviceKit
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedMDeviceKitConfig.GlucoseUnitsstatic classMedMDeviceKitConfig.Sexstatic classMedMDeviceKitConfig.UnitsImperial means pounds and miles, Metric - kilograms and kilometers
-
Field Summary
Fields Modifier and Type Field Description booleanconvertReadingsIf true, DeviceKit would notify data only in configured units.MedMDeviceKitConfig.GlucoseUnitsglucoseUnitsWhich units DeviceKit would set to glucometers (if supported).MedMDeviceKitConfig.UnitsunitsWhich units DeviceKit would set to remote devices (if supported).java.util.CalendaruserBirthdayUser birthday.intuserDailyStepsGoalDaily steps goal for the user.intuserHeightUser height in centimeters.MedMDeviceKitConfig.SexuserSexSex of the user.doubleuserWeightUser 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.
-
-