Package com.medm.devicekit
Class MedMDeviceKitConfig
java.lang.Object
com.medm.devicekit.MedMDeviceKitConfig
MedMDeviceKitConfig represents configuration for DeviceKit
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
Imperial means pounds and miles, Metric - kilograms and kilometers -
Field Summary
Modifier and TypeFieldDescriptionboolean
Turn bluetooth on and off automatically if it's required.boolean
If true, DeviceKit would notify data only in configured units.Which units DeviceKit would set to glucometers (if supported).Which units DeviceKit would set to remote devices (if supported).User birthday.int
Daily steps goal for the user.int
User height in centimeters.Sex of the user.double
User weight in kg. -
Constructor Summary
-
Method Summary
-
Field Details
-
glucoseUnits
Which units DeviceKit would set to glucometers (if supported). MilligramsPerDecilitre by default -
units
Which units DeviceKit would set to remote devices (if supported). Metric by default -
convertReadings
public boolean convertReadingsIf 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
Sex of the user. Used for setting user info on activity trackers and weight scales with body composition. -
userHeight
public int userHeightUser height in centimeters. Used for setting user info on activity trackers and weight scales with body composition. -
userWeight
public double userWeightUser weight in kg. Used for setting user info on activity trackers. -
userBirthday
User birthday. Used to calculate user age and setting it to activity trackers and weight scales with body composition. -
userDailyStepsGoal
public int userDailyStepsGoalDaily steps goal for the user. Used for setting user info on activity trackers. -
controlBluetoothState
public boolean controlBluetoothStateTurn bluetooth on and off automatically if it's required. It won't turn it off if it was turned on by a user. Only works for Android 12 or lower. On by default.
-
-
Constructor Details
-
MedMDeviceKitConfig
public MedMDeviceKitConfig()
-