Editar

Compartilhar via


HKWorkout.CreateFlightsClimbedWorkout Method

Definition

Overloads

CreateFlightsClimbedWorkout(HKWorkoutActivityType, NSDate, NSDate, HKWorkoutEvent[], HKQuantity, HKQuantity, HKQuantity, HKDevice, NSDictionary)
CreateFlightsClimbedWorkout(HKWorkoutActivityType, NSDate, NSDate, HKWorkoutEvent[], HKQuantity, HKQuantity, HKQuantity, HKDevice, HKMetadata)

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
workoutEvents
HKWorkoutEvent[]

To be added.

This parameter can be null.

totalEnergyBurned
HKQuantity

To be added.

This parameter can be null.

totalDistance
HKQuantity

To be added.

This parameter can be null.

totalFlightsClimbed
HKQuantity

To be added.

This parameter can be null.

device
HKDevice

To be added.

This parameter can be null.

metadata
NSDictionary

To be added.

This parameter can be null.

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

Applies to