VLDRecord Class Reference
Inherits from | VLDModel : NSObject |
---|---|
Declared in | VLDRecord.h |
timestamp
Timestamp for the measurement set
@property (nonatomic, strong, nullable) NSDate *timestamp
Discussion
Timestamp for the measurement set
Declared In
VLDRecord.h
utcOffset
Timezone information for the measurement set formatted as +/-HH:MM
@property (nonatomic, copy, nullable) NSString *utcOffset
Discussion
Timezone information for the measurement set formatted as +/-HH:MM
Declared In
VLDRecord.h
source
The short name of the Validic integration that created the record (validicmobile)
@property (nonatomic, copy, nullable) NSString *source
Discussion
The short name of the Validic integration that created the record (validicmobile)
Declared In
VLDRecord.h
sourceName
The display name of the Validic integration that created the record (ValidicMobile)
@property (nonatomic, copy, nullable) NSString *sourceName
Discussion
The display name of the Validic integration that created the record (ValidicMobile)
Declared In
VLDRecord.h
originalSource
The name of the peripheral manufacturer, for records sourced from HealthKit this will be the name of the application that originally wrote the data to HealthKit.
@property (nonatomic, copy, nullable) NSString *originalSource
Discussion
The name of the peripheral manufacturer, for records sourced from HealthKit this will be the name of the application that originally wrote the data to HealthKit.
Declared In
VLDRecord.h
intermediarySource
The name of the library technology used to create the record (eg “ValidicMobile Bluetooth”, “ValidicMobile Apple Health”)
@property (nonatomic, copy, nullable) NSString *intermediarySource
Discussion
The name of the library technology used to create the record (eg “ValidicMobile Bluetooth”, “ValidicMobile Apple Health”)
Declared In
VLDRecord.h
sourcePeripheral
The model number of the peripheral, for records sourced from HealthKit this will be the bundle ID of the application that originally wrote the data to HealthKit.
@property (nonatomic, copy, nullable) NSString *sourcePeripheral
Discussion
The model number of the peripheral, for records sourced from HealthKit this will be the bundle ID of the application that originally wrote the data to HealthKit.
Declared In
VLDRecord.h
lastUpdated
Date and time when the measurement set was last updated
@property (nonatomic, strong, nullable) NSDate *lastUpdated
Discussion
Date and time when the measurement set was last updated
Declared In
VLDRecord.h
validated
Indicates the data you are receiving was generated using a device, opposed to being manually entered by a end user (Boolean value stored in an NSNumber)
@property (nonatomic, strong, nullable) NSNumber *validated
Discussion
Indicates the data you are receiving was generated using a device, opposed to being manually entered by a end user (Boolean value stored in an NSNumber)
Declared In
VLDRecord.h
recordID
Unique identifier of the record
@property (nonatomic, copy, nullable) NSString *recordID
Discussion
Unique identifier of the record
Declared In
VLDRecord.h
extras
Expanded data of the endpoint
@property (nonatomic, copy, nullable) NSDictionary *extras
Discussion
Expanded data of the endpoint
Declared In
VLDRecord.h
media
Uploaded images associated with the record
@property (nonatomic, copy, nullable) NSArray<VLDMedia*> *media
Discussion
Uploaded images associated with the record
Declared In
VLDRecord.h
– peripheral
Associated peripheral used to generate record
- (VLDPeripheral *_Nullable)peripheral
Discussion
Associated peripheral used to generate record
Declared In
VLDRecord.h
+ newRecordFromPeripheral:
Create a new record with source information for a peripheral.
+ (instancetype _Nonnull)newRecordFromPeripheral:(VLDPeripheral *_Nonnull)peripheral
Parameters
peripheral |
the peripheral to use for the record’s source. |
---|
Discussion
Create a new record with source information for a peripheral.
Declared In
VLDRecord.h
+ newRecordWithType:
Initializes the appropriate VLDRecord subclass for the specified VLDRecordType.
+ (instancetype _Nonnull)newRecordWithType:(VLDRecordType)type
Parameters
type |
the record type. |
---|
Discussion
Initializes the appropriate VLDRecord subclass for the specified VLDRecordType.
Declared In
VLDRecord.h
– setExtraValue:forKey:
Add a value to the expanded data of the record.
- (void)setExtraValue:(id _Nullable)value forKey:(NSString *_Nonnull)key
Parameters
value |
the value to store in the expanded data. |
---|---|
key |
the key used to access the value in the expanded data. |
Discussion
Add a value to the expanded data of the record.
Declared In
VLDRecord.h
– recordType
This method returns the Type of the record
- (VLDRecordType)recordType
Discussion
This method returns the Type of the record
Declared In
VLDRecord.h
+ nameForRecordType:
Record type name as a string.
+ (NSString *_Nonnull)nameForRecordType:(VLDRecordType)type
Parameters
type |
the record type. |
---|
Discussion
Record type name as a string.
Declared In
VLDRecord.h
+ convertWeightValue:fromUnit:toUnit:
Converts a weight value from the first specified weight unit to the second specified weight unit.
+ (NSNumber *_Nonnull)convertWeightValue:(NSNumber *_Nonnull)value fromUnit:(VLDWeightUnit)from toUnit:(VLDWeightUnit)to
Parameters
value |
the value being converted. |
---|---|
from |
the initial unit of the value. |
to |
the unit the value will be converted to. |
Discussion
Converts a weight value from the first specified weight unit to the second specified weight unit.
Declared In
VLDRecord.h
+ convertTemperatureValue:fromUnit:toUnit:
Converts a temperature value from the first specified temperature unit to the second specified temperature unit.
+ (NSNumber *_Nonnull)convertTemperatureValue:(NSNumber *_Nonnull)value fromUnit:(VLDTemperatureUnit)from toUnit:(VLDTemperatureUnit)to
Parameters
value |
the value being converted. |
---|---|
from |
the initial unit of the value. |
to |
the unit the value will be converted to. |
Discussion
Converts a temperature value from the first specified temperature unit to the second specified temperature unit.
Declared In
VLDRecord.h
+ convertGlucoseValue:fromUnit:toUnit:
Converts a glucose value from the first specified glucose unit to the second specified glucose unit.
+ (NSNumber *_Nonnull)convertGlucoseValue:(NSNumber *_Nonnull)value fromUnit:(VLDGlucoseUnit)from toUnit:(VLDGlucoseUnit)to
Parameters
value |
the value being converted. |
---|---|
from |
the initial unit of the value. |
to |
the unit the value will be converted to. |
Discussion
Converts a glucose value from the first specified glucose unit to the second specified glucose unit.
Declared In
VLDRecord.h
+ unitStringForGlucoseUnit:
Display string for a glucose unit.
+ (NSString *_Nonnull)unitStringForGlucoseUnit:(VLDGlucoseUnit)unit
Parameters
unit |
the glucose unit. |
---|
Discussion
Display string for a glucose unit.
Declared In
VLDRecord.h
+ unitStringForWeightUnit:
Display string for a weight unit.
+ (NSString *_Nonnull)unitStringForWeightUnit:(VLDWeightUnit)unit
Parameters
unit |
the weight unit. |
---|
Discussion
Display string for a weight unit.
Declared In
VLDRecord.h
+ unitStringForTemperatureUnit:
Display string for a temperature unit.
+ (NSString *_Nonnull)unitStringForTemperatureUnit:(VLDTemperatureUnit)unit
Parameters
unit |
the temperature unit. |
---|
Discussion
Display string for a temperature unit.
Declared In
VLDRecord.h