Returns a predicate for matching workouts based on the total energy burned.
Mac Catalyst 13.0+Beta
The operator type to use when comparing the total energy burned.
The target amount of energy burned.
A predicate for matching workouts based on the total energy burned. This predicate works only on workouts.
Use this convenience method to create a predicate that matches against a workout’s total energy burned. The following sample uses both the convenience method and a predicate format string to create equivalent predicates.
The total active energy burned during the workout.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.