Edytuj

Udostępnij za pośrednictwem


HKHealthStore.SplitTotalEnergy Method

Definition

Splits totalEnergy into resting and active energy portions, and calls a handler with the result.

[Foundation.Export("splitTotalEnergy:startDate:endDate:resultsHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual void SplitTotalEnergy (HealthKit.HKQuantity totalEnergy, Foundation.NSDate startDate, Foundation.NSDate endDate, Action<HealthKit.HKQuantity,HealthKit.HKQuantity,Foundation.NSError> resultsHandler);
abstract member SplitTotalEnergy : HealthKit.HKQuantity * Foundation.NSDate * Foundation.NSDate * Action<HealthKit.HKQuantity, HealthKit.HKQuantity, Foundation.NSError> -> unit
override this.SplitTotalEnergy : HealthKit.HKQuantity * Foundation.NSDate * Foundation.NSDate * Action<HealthKit.HKQuantity, HealthKit.HKQuantity, Foundation.NSError> -> unit

Parameters

totalEnergy
HKQuantity
startDate
NSDate
endDate
NSDate
Attributes

Applies to