HKWorkout.CreateFlightsClimbedWorkout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateFlightsClimbedWorkout(HKWorkoutActivityType, NSDate, NSDate, HKWorkoutEvent[], HKQuantity, HKQuantity, HKQuantity, HKDevice, NSDictionary)
[Foundation.Export("workoutWithActivityType:startDate:endDate:workoutEvents:totalEnergyBurned:totalDistance:totalFlightsClimbed:device:metadata:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKWorkout CreateFlightsClimbedWorkout (HealthKit.HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HealthKit.HKWorkoutEvent[] workoutEvents, HealthKit.HKQuantity totalEnergyBurned, HealthKit.HKQuantity totalDistance, HealthKit.HKQuantity totalFlightsClimbed, HealthKit.HKDevice device, Foundation.NSDictionary metadata);
static member CreateFlightsClimbedWorkout : HealthKit.HKWorkoutActivityType * Foundation.NSDate * Foundation.NSDate * HealthKit.HKWorkoutEvent[] * HealthKit.HKQuantity * HealthKit.HKQuantity * HealthKit.HKQuantity * HealthKit.HKDevice * Foundation.NSDictionary -> HealthKit.HKWorkout
Parameters
- workoutActivityType
- HKWorkoutActivityType
- startDate
- NSDate
- endDate
- NSDate
Returns
- Attributes
Applies to
CreateFlightsClimbedWorkout(HKWorkoutActivityType, NSDate, NSDate, HKWorkoutEvent[], HKQuantity, HKQuantity, HKQuantity, HKDevice, HKMetadata)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static HealthKit.HKWorkout CreateFlightsClimbedWorkout (HealthKit.HKWorkoutActivityType workoutActivityType, Foundation.NSDate startDate, Foundation.NSDate endDate, HealthKit.HKWorkoutEvent[] workoutEvents, HealthKit.HKQuantity totalEnergyBurned, HealthKit.HKQuantity totalDistance, HealthKit.HKQuantity totalFlightsClimbed, HealthKit.HKDevice device, HealthKit.HKMetadata metadata);
static member CreateFlightsClimbedWorkout : HealthKit.HKWorkoutActivityType * Foundation.NSDate * Foundation.NSDate * HealthKit.HKWorkoutEvent[] * HealthKit.HKQuantity * HealthKit.HKQuantity * HealthKit.HKQuantity * HealthKit.HKDevice * HealthKit.HKMetadata -> HealthKit.HKWorkout
Parameters
- workoutActivityType
- HKWorkoutActivityType
- startDate
- NSDate
- endDate
- NSDate
- workoutEvents
- HKWorkoutEvent[]
- totalEnergyBurned
- HKQuantity
- totalDistance
- HKQuantity
- totalFlightsClimbed
- HKQuantity
- device
- HKDevice
- metadata
- HKMetadata
Returns
- Attributes