Instance Property

productType

A string that identifies the device used to save a sample.

Declaration

@property(readonly, copy) NSString *productType;

Discussion

For samples saved on Apple Watch Series 2, HealthKit sets the product type property to watch2,4.

Topics

Constants

HKSourceRevisionAnyProductType

A constant that matches any product type.

See Also

Accessing Source and Version Information

source

The source for a sample.

version

A string that identifies a particular version of the source.

operatingSystemVersion

A string that identifies the operating system used to save a sample.