scheduleType
The scheduling context for this logged dose event.
Declaration
var scheduleType: HKMedicationDoseEvent.ScheduleType { get }Discussion
The system sets this to HKMedicationDoseEvent.ScheduleType.asNeeded when the person logs a dose without a schedule and HKMedicationDoseEvent.ScheduleType.schedule when a person logs a dose from a scheduled medication reminder.