Editar

Compartir a través de


HKHealthStore.SaveObjects(HKObject[], Action<Boolean,NSError>) Method

Definition

Saves the objects that are contained in objects and runs completion when finished.

[Foundation.Export("saveObjects:withCompletion:")]
public virtual void SaveObjects (HealthKit.HKObject[] objects, Action<bool,Foundation.NSError> completion);
abstract member SaveObjects : HealthKit.HKObject[] * Action<bool, Foundation.NSError> -> unit
override this.SaveObjects : HealthKit.HKObject[] * Action<bool, Foundation.NSError> -> unit

Parameters

objects
HKObject[]
completion
Action<Boolean,NSError>

A handler to run when the operation completes.

Attributes

Applies to