Returns the shared series type for the provided identifier.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
A series type identifier. In iOS 11 and watchOS 4, there is only one series type identifier:
Route Type Identifier
HKSeries instance based on the provided identifier.
This method returns an instance of the
HKSeries concrete subclass. HealthKit uses series types to represent samples that store a series of items. You can’t directly instantiate these samples; instead, use a
HKSeries subclass to create them. Use series types to ask for permission to read series data from the HealthKit store.