Düzenle

Aracılığıyla paylaş


HKHealthStore.SaveObject(HKObject, Action<Boolean,NSError>) Method

Definition

Saves obj and runs completion when finished.

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

Parameters

obj
HKObject
completion
Action<Boolean,NSError>

A handler to run when the operation completes.

Attributes

Applies to