Edit

Share via


HKQuery.GetPredicateForWorkouts(HKWorkoutActivityType) Method

Definition

Creates and returns a predicate that can be used to get workouts by activity type.

[Foundation.Export("predicateForWorkoutsWithWorkoutActivityType:")]
public static Foundation.NSPredicate GetPredicateForWorkouts (HealthKit.HKWorkoutActivityType workoutActivityType);
static member GetPredicateForWorkouts : HealthKit.HKWorkoutActivityType -> Foundation.NSPredicate

Parameters

workoutActivityType
HKWorkoutActivityType

Returns

Attributes

Applies to