init(predicate:options:)
Creates a quantity series query descriptor.
Declaration
init(predicate: HKSamplePredicate<HKQuantitySample>, options: HKQuantitySeriesSampleQueryDescriptor.Options = [])Parameters
- predicate:
A predicate that defines the set of series samples that the query returns. For a list of convenience methods for building predicates, see Hkquery.
- options:
A set of options for the query. For a list of possible values, see Options Swift.struct.