A query for reading activity summary objects from the HealthKit store.
Mac Catalyst 13.0+
Activity summary query objects are mostly immutable. You can assign the query’s updateHandler property after instantiating the object, but before executing the query. All other properties must be set when you instantiate the object, and they can’t change.