MedM DeviceKit
MedMDeviceKitConfig Class Reference

#import <MedMDeviceKitConfig.h>

Inheritance diagram for MedMDeviceKitConfig:

Properties

DeviceKitGlucoseUnits glucoseUnits
 Which units DeviceKit would set to glucometers (if supported). More...
 
DeviceKitUnits units
 Which units DeviceKit would set to remote devices (if supported). More...
 
BOOL convertReadings
 If true, DeviceKit would notify data only in configured units. More...
 
DeviceKitUserSex userSex
 Sex of the user. More...
 
NSNumber *_Nonnull userHeight
 User height in centimeters. More...
 
NSNumber *_Nonnull userWeight
 User weight in kg. More...
 
NSDate *_Nullable userBirthday
 User birthday. More...
 
NSNumber *_Nonnull userDailyStepsGoal
 Daily steps goal for the user. More...
 

Property Documentation

◆ convertReadings

- (BOOL) convertReadings
readwritenonatomicassign

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

◆ glucoseUnits

- (DeviceKitGlucoseUnits) glucoseUnits
readwritenonatomicassign

Which units DeviceKit would set to glucometers (if supported).

MilligramsPerDecilitre by default

◆ units

- (DeviceKitUnits) units
readwritenonatomicassign

Which units DeviceKit would set to remote devices (if supported).

Metric by default

◆ userBirthday

- (NSDate* _Nullable) userBirthday
readwritenonatomicretain

User birthday.

Used to calculate user age and setting it to activity trackers and weight scales with body composition.

◆ userDailyStepsGoal

- (NSNumber* _Nonnull) userDailyStepsGoal
readwritenonatomicretain

Daily steps goal for the user.

Used for setting user info on activity trackers.

◆ userHeight

- (NSNumber* _Nonnull) userHeight
readwritenonatomicretain

User height in centimeters.

Used for setting user info on activity trackers and weight scales with body composition.

◆ userSex

- (DeviceKitUserSex) userSex
readwritenonatomicassign

Sex of the user.

Used for setting user info on activity trackers and weight scales with body composition.

◆ userWeight

- (NSNumber* _Nonnull) userWeight
readwritenonatomicretain

User weight in kg.

Used for setting user info on activity trackers.


The documentation for this class was generated from the following file: