QNUser
Yolanda user object
Attributes
name | Types of | Is it necessary | Explanation |
---|---|---|---|
height | int | Y | Height, unit cm, minimum 40, maximum 240 |
gender | String | Y | Sex: Male:male: female |
birthday | Date | Y | The birthday is used to calculate the age. The date is accurate to the day. The calculated age range is 3 ~ 80. If it exceeds this range, it is equal to the upper or lower limit. |
athleteType | int | Y | Whether it is the athlete mode (0 is the ordinary algorithm, 1 is the athlete algorithm), this field only takes effect when the age is greater than or equal to 18 |
clothesWeight | double | Y | unit: KG Clothes weight, when this value is set, the weight value returned will be the value minus the clothes weight. The weight of clothing cannot exceed half of the weight, otherwise the excess value will be ignored |
index | int | N | It is dedicated to the user scale equipment, and the user index on the scale side. When the value is not assigned, the scale user will be registered after the scale link is successful, and the value will be returned by the scale when the user is successfully registered with the scale. It needs to be saved to the server and needs to be passed when accessing the user |
heightDecision | HeightDecision | N | Height and weight scale (height and weight all-in-one machine) Device-specific, used to calculate other indicators (other indicators besides weight, height and BMI). By default, the measured data height is used, that is, HeightDecisionScaleDataHeight. For details, see HeightDecision below |
HeightDecision
Used to calculate other indicators (other than weight, height and BMI) Note: For height and weight scales, the BMI index value is calculated by measuring height and weight.
name | value | explain |
---|---|---|
HeightDecisionScaleDataHeight | 0 | Measured data height, that is, the height value measured by the device, see QNScaleData/QNScaleStoreData for details. |
HeightDecisionUserInfoHeight | 1 | User information height, that is, the input user height value, see QNUser height for details |