次の方法で共有


HKHealthStore.SplitTotalEnergy メソッド

定義

totalEnergyを静止エネルギー部分とアクティブエネルギー部分に分割し、結果を持つハンドラーを呼び出します。

[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

パラメーター

totalEnergy
HKQuantity
startDate
NSDate
endDate
NSDate
属性

適用対象