Class MedMDeviceKitConfig

java.lang.Object
com.medm.devicekit.MedMDeviceKitConfig

public class MedMDeviceKitConfig extends Object
MedMDeviceKitConfig represents configuration for DeviceKit
  • Field Details

    • glucoseUnits

      public MedMDeviceKitConfig.GlucoseUnits 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 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 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.
    • controlBluetoothState

      public boolean controlBluetoothState
      Turn 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()