Contents

predicateForMedicationDoseEvent(status:)

Declaration

class func predicateForMedicationDoseEvent(status: HKMedicationDoseEvent.LogStatus) -> NSPredicate

Parameters

  • 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.