HKHealthStore.AddSamples 方法

定义

将示例链接到锻炼。

[Foundation.Export("addSamples:toWorkout:completion:")]
public virtual void AddSamples (HealthKit.HKSample[] samples, HealthKit.HKWorkout workout, HealthKit.HKStoreSampleAddedCallback callback);
abstract member AddSamples : HealthKit.HKSample[] * HealthKit.HKWorkout * HealthKit.HKStoreSampleAddedCallback -> unit
override this.AddSamples : HealthKit.HKSample[] * HealthKit.HKWorkout * HealthKit.HKStoreSampleAddedCallback -> unit

参数

samples
HKSample[]
workout
HKWorkout
callback
HKStoreSampleAddedCallback

内容待定。

此参数可以为 null

属性

适用于