Düzenle

Aracılığıyla paylaş


HKHealthStore.AddSamples Method

Definition

Links samples to a workout.

[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

Parameters

samples
HKSample[]
workout
HKWorkout
callback
HKStoreSampleAddedCallback

To be added.

This parameter can be null.

Attributes

Applies to