Edit

Share via


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

Definition

Deletes and object from the store and runs an action after it has been deleted.

[Foundation.Export("deleteObject:withCompletion:")]
public virtual void DeleteObject (HealthKit.HKObject obj, Action<bool,Foundation.NSError> completion);
abstract member DeleteObject : HealthKit.HKObject * Action<bool, Foundation.NSError> -> unit
override this.DeleteObject : 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