HKHealthStore.AddSamples Método

Definición

Vincula muestras a un entrenamiento.

[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

Parámetros

samples
HKSample[]
workout
HKWorkout
callback
HKStoreSampleAddedCallback

Se agregará.

Este parámetro puede ser null.

Atributos

Se aplica a