Edit

Share via


HKHealthStore.DeleteObjectAsync(HKObject) Method

Definition

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

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> DeleteObjectAsync (HealthKit.HKObject obj);
abstract member DeleteObjectAsync : HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.DeleteObjectAsync : HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

obj
HKObject

Returns

A task that represents the asynchronous DeleteObject operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.

Applies to