predicateForMedicationDoseEvent(status:)
Declaration
class func predicateForMedicationDoseEvent(status: HKMedicationDoseEvent.LogStatus) -> NSPredicateParameters
- status:
The logged status of the medication dose event to match.
Discussion
Creates a predicate for use with HKQuery subclasses.
Creates a query predicate that matches HKMedicationDoseEvent samples that have the status specified.