HKObjectType.WorkoutType Method

Definition

Caution

Use 'GetWorkoutType', it will return a valid HKWorkoutType instance.

Gets the workout type for thisHKObjectType.

[System.Obsolete("Use 'GetWorkoutType', it will return a valid HKWorkoutType instance.")]
public static HealthKit.HKWorkout WorkoutType ();
static member WorkoutType : unit -> HealthKit.HKWorkout

Returns

HKWorkout
Attributes

Applies to