VLDMeasurement
@interface VLDMeasurement : VLDModel
Wrapper class for VLDRecord’s value and unit
-
String representation of the value taken.
Declaration
Objective-C
@property (nonatomic, copy) NSString *value
-
String representation of the metric unit.
Declaration
Objective-C
@property (nonatomic, copy) NSString *unit
-
Readonly property returning instance of decimalNumberWithString:(nullable NSString *)numberValue.
Declaration
Objective-C
@property (readonly, nonatomic) int *decimalValue;
-
Destignated initalizer
Declaration
Objective-C
- (instancetype)initWithValue:(id)value unit:(id)unit;
-
Convience initalizer
Declaration
Objective-C
- (instancetype)initWithDictionary:(id)dictionary;
-
Dictionary containing value and unit. Access with kVLDRawDataValueKey and kVLDRawDataUnitKey
Declaration
Objective-C
- (id)dictionaryRepresentation;