HKHealthStore.AddSamples Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes