Compartir a través de


HKHealthStore.SplitTotalEnergy Método

Definición

totalEnergy Se divide en partes de energía activas y en reposo, y llama a un controlador con el resultado.

[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

Parámetros

totalEnergy
HKQuantity
startDate
NSDate
endDate
NSDate
Atributos

Se aplica a