VLDWeight
@interface VLDWeight : VLDRecord
Measurements associated with a user’s weight and body mass.
-
The value of the measured quantity in kg
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *weight
-
The value of the measured quantity in cm
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *height
-
The value of the measured quantity in kg
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *freeMass
-
The value of the measured quantity
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *fatPercent
-
The value of the measured quantity in kg
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *massWeight
-
The value of the measured quantity
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *bmi
-
The weight value of the record converted to the specified unit.
Declaration
Objective-C
- (id)weightWithUnit:(id)unit;
Parameters
unit
the weight unit to retrieve the weight value in.
-
Set the weight value of the record after converting from the specified unit to kg.
Declaration
Objective-C
- (void)setWeight:(id)weight withUnit:(id)unit;
Parameters
weight
the weight value to store in the record.
unit
the weight unit that the accompanying weight value is currently in.