Health
-
A enumeration used for namespacing health measurement types.
See moreDeclaration
Swift
public enum HealthMeasurement
-
A protocol that all phantom measurement types under
HealthMeasurement
should conform to.Declaration
Swift
public protocol HealthMeasurementType
-
Declaration
Swift
public struct HealthSampleMeasurement<MeasurementType> where MeasurementType : HealthMeasurementType
extension HealthSampleMeasurement: Encodable
-
The type of a Health sample, such as “Water” or “Vitamin C”.
See moreDeclaration
Swift
public struct HealthSampleType<MeasurementType> : RawRepresentable, Encodable where MeasurementType : HealthMeasurementType
-
The unit of a Health sample, such as “liters” or “fl oz (US)”.
See moreDeclaration
Swift
public struct HealthSampleUnit<MeasurementType> : RawRepresentable, Encodable where MeasurementType : HealthMeasurementType