value
The category value for this sample.
Declaration
var value: Int { get }Discussion
This value must come from the appropriate category value enumeration. Each category type uses its own enumeration. For more information, see Category Type Identifiers in HealthKit Constants.